Site Tools


quickref:rsync

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
quickref:rsync [2026-11-19 Thu 03:57] – use inline code tag so a quoted printf survives typography demon-machinequickref:rsync [2026-11-19 Thu 03:58] (current) – fix broken list item: nowiki the quoted printf format demon-machine
Line 18: Line 18:
 ===== Gotchas ===== ===== Gotchas =====
  
-  * Paths in the list must be relative to the source dir. ''find /path/src'' yields ''/path/src/a.txt'', and rsync then looks for ''/path/src/path/src/a.txt''. Run ''find .'' from inside the source, or use <code>find . -printf '%P\0'</code>.+  * Paths in the list must be relative to the source dir. ''find /path/src'' yields ''/path/src/a.txt'', and rsync then looks for ''/path/src/path/src/a.txt''. Run ''find .'' from inside the source, or use ''find . -printf %%'%P\0'%%'' instead.
   * ''-R'' (relative) is implied by ''%%--files-from%%'', so the directory structure is preserved automatically.   * ''-R'' (relative) is implied by ''%%--files-from%%'', so the directory structure is preserved automatically.
   * ''-a'' does **not** imply ''-r'' when ''%%--files-from%%'' is used. Only matters when the list contains directories.   * ''-a'' does **not** imply ''-r'' when ''%%--files-from%%'' is used. Only matters when the list contains directories.
quickref/rsync.1795060672.txt.gz · Last modified: by demon-machine