FG

How do I use 7-zip to backup files, but exclude some directories

Fresh3 days ago
Mar 15, 202664456 views
Confidence Score0%
0%

Problem

I would like to use 7-zip to backup a directory, but I would like it to exclude all directories named ".svn" (anywhere in the source tree). Does anybody know if this is possible and in that case how?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I use 7-zip to backup files, but exclude some directories

Low Risk

To exclude all .svn directories you need to add the switch For example the following will create a backup of the directory excluding any folders that satisfy :

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment