💻 Software
Excluding a list of directories from Find
Fresh5 days ago
Mar 15, 20262380 viewsConfidence Score0%
0%
Problem
I am using rsyncrypto to backup a few of my user directories. I want to exclude some subdirectories from the encryption. I read that the best way to do this is to pipe the output of find to rsyncrypto. Here's a find command that excludes directories named tmp: I have six or seven such directories t…
Error Output
find ~/Documents -type d -not \( -name tmp -prune \)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Excluding a list of directories from Find
Low Risk
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix