Rsync Mirror (Delete Missing Files)

Creates an exact mirror of a source directory, deleting remote files that no longer exist locally. The --delete flag makes this a true one-way sync.

When you need this: When you want the destination to exactly match the source, including deletions.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.