Rsync Mirror (Delete Missing Files)

Mirror a directory exactly, deleting destination files that no longer exist at the source. Use with care.

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


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

Free account. Save snippets into your own collections.