Differences between revisions 2 and 3
Revision 2 as of 2018-06-08 11:13:26
Size: 260
Editor: SamatJain
Comment:
Revision 3 as of 2018-07-14 23:07:39
Size: 265
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
find . -maxdepth 1 -print0 | parallel -0 -j4 echo cp {} $dst find . -maxdepth 1 -print0 | parallel -0 -j4 echo cp -avn {} $dst

   1 # Parallel copy
   2 find . -maxdepth 1 -print0 | parallel -0 -j4 echo cp -avn {} $dst
   3 
   4 # Check MP3s in parallel, many arguments per invocation
   5 parallel -m mp3check -Sqe ::: *mp3
   6 
   7 # Run commands in a file parallel
   8 parallel < commands.txt

SamatsWiki: CheatSheet/GNUParallel (last edited 2019-04-28 00:16:11 by SamatJain)