parallel_rsync

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
parallel_rsync [20.05.2020 19:39] – [the bash function] Pascal Suterparallel_rsync [20.05.2020 19:41] – [the code] Pascal Suter
Line 33: Line 33:
 # #
 # version 1: initial release in 2017 # version 1: initial release in 2017
-# version 2: removed the need to escape filenames by using null delimiter + xargs to run commands such as mkdir and rsync,  +# version 2: May 2020, removed the need to escape filenames by using  
-#            added ability to resume without rescanning (argument $5) and to skip already synced directories (argument $6)+#            null delimiter + xargs to run commands such as mkdir and rsync,  
 +#            added ability to resume without rescanning (argument $5) and to skip  
 +#            already synced directories (argument $6)
 # #
  
Line 43: Line 45:
  # $4 = numjobs  # $4 = numjobs
  # $5 = dirlist file (optional) --> will allow to resume without re-scanning the entire directory structure  # $5 = dirlist file (optional) --> will allow to resume without re-scanning the entire directory structure
-    # $6 = progress log file (optional) --> will allow to skip previously synced directory when resuming with a dirlist file+        # $6 = progress log file (optional) --> will allow to skip previously synced directory when resuming with a dirlist file
  source=$1  source=$1
  destination=$2  destination=$2
  • parallel_rsync.txt
  • Last modified: 20.05.2020 19:44
  • by Pascal Suter