Changes

Jump to navigation Jump to search
161 bytes added ,  00:12, 5 November 2019
m
Line 52: Line 52:  
==Remove source files after succesfull transfer==
 
==Remove source files after succesfull transfer==
 
  rsync --remove-source-files -azv /path/to/Download/*.avi laptop:~/Download
 
  rsync --remove-source-files -azv /path/to/Download/*.avi laptop:~/Download
 +
<syntaxhighlight lang="bash">
 +
find . -name *.mp4 -exec rsync --remove-source-files -azv {} morpheus.lan:/media/video/classification_pending/ \;
 +
</syntaxhighlight>
    
==Follow symlyncs (-L)==
 
==Follow symlyncs (-L)==
Line 60: Line 63:  
  rsync -avz --exclude 'dir*' source/ destination/
 
  rsync -avz --exclude 'dir*' source/ destination/
   −
== Arguments with spaces ==
+
==Arguments with spaces==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
rsync -avxP --protect-args "xe50582@jupyter.rra.lan:/home/xe50582/Notebooks/Rafael Herrero/Text Clustering/news/*" .
 
rsync -avxP --protect-args "xe50582@jupyter.rra.lan:/home/xe50582/Notebooks/Rafael Herrero/Text Clustering/news/*" .
 
</syntaxhighlight>
 
</syntaxhighlight>

Navigation menu