Guest User

Untitled

a guest
Apr 26th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Demultiplexing/Run1/analysis/
  2. Demultiplexing/Run1/output/
  3. Demultiplexing/Run2/analysis/
  4. Demultiplexing/Run2/output/
  5. OtherProjects/Run1/analysis/
  6. OtherProjects/Run1/output/
  7. OtherProjects/Run2/analysis/
  8. OtherProjects/Run2/output/
  9.  
  10. remote_dir="/home/$(whoami)/production"
  11. remote_server="server.org"
  12. production_dir="/data/production"
  13. rsync --dry-run -vrthP -e ssh "${production_dir}/" "$(whoami)"@"${remote_server}":"${remote_dir}/"
  14. --include="Demultiplexing"
  15. --include="Demultiplexing/*/output"
  16. --exclude="*:*"
  17. --exclude="*"
Add Comment
Please, Sign In to add comment