Posted By

JuanRomeroAbelleira on 10/25/09


Tagged

rsync mount synchronize zhaw


Versions (?)

ZHAW UI08 Folder Sync Bash


 / Published in: Bash
 

URL: zhawui08.ning.com

  1. #!/bin/bash
  2.  
  3. #Connect to mustang/users
  4. mkdir /Volumes/users;
  5. mount_smbfs //[user]:[pass]@mustang/users/ /Volumes/users;
  6.  
  7. #Connect to nantes/poolsggt
  8. mkdir /Volumes/poolsggt;
  9. mount_smbfs //[user]:[pass]@nantes/PublicFolders/poolsggt/ /Volumes/poolsggt;
  10.  
  11. #ADS
  12. rsync -aq /Volumes/users/staff/mund/public/ADS/ ~/Documents/UInfo/ADS/ADS\ synched/;
  13.  
  14. #DBA
  15. rsync -aq /Volumes/users/staff/mund/public/DatenBankAufbau\(DBA\)/ /Users/j/Documents/UInfo/DBA/DBA\ synched/;
  16.  
  17. #EIT1
  18. rsync -aq /Volumes/users/staff/ehri/public/ /Users/j/Documents/UInfo/EIT1/EIT1\ synched/;
  19.  
  20. #MLAUI
  21. rsync -aq /Volumes/users/staff/kwua/public/MLAUI\ UI08c/ /Users/j/Documents/UInfo/MLAUI/MLAUI\ synched/;
  22.  
  23. #MTU
  24. rsync -aq /Volumes/poolsggt/ /Users/j/Documents/UInfo/MTU/MTU synched/;
  25.  
  26. #TIN1
  27. rsync -aq /Volumes/users/staff/stet/public/HS09/tin_1/ /Users/j/Documents/UInfo/TIN1/TIN1\ synched/;

Report this snippet  

You need to login to post a comment.