Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux command: rsync
(edit)
Revision as of 00:12, 5 November 2019
161 bytes added
,
00:12, 5 November 2019
m
→Remove source files after succesfull transfer
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>
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version