Changes
Jump to navigation
Jump to search
← Older edit
Linux command: rsync
(edit)
Revision as of 21:53, 18 March 2020
20 bytes added
,
21:53, 18 March 2020
m
→Remove source files after succesfull transfer
Line 53:
Line 53:
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">
<syntaxhighlight lang="bash">
−
find . -
name
*
.
mp4 -exec rsync --remove-source-files -azv {} morpheus.lan:/media/video/classification_pending/ \;
+
find . -
regex '.
*
\(avi\|
mp4
\|mkv\)$'
-exec rsync --remove-source-files -azv {} morpheus.lan:/media/video/classification_pending/ \;
</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