I’m really loving the diff tool for duplicacy (diff with the existing system is very useful). It’s the closest thing I’ve seen to git in a backup tool. Is there a way to list the files not included in the revision and or snapshot (like git does)?
-
Create a list of files in a specific revision, nuking the empty lines
duplicacy list -r 2241 -files | cut -c 98- | sed '/^[[:space:]]*$/d' > files.lst
-
List files not in the list
find . | grep -vf files.lst
This will work but will be slow. For huge number of files save the output from find .
to another file, sort them both and feed to diff as described here: bash - Fast way of finding lines in one file that are not in another? - Stack Overflow. Those don’t have to be files — you can pipe the output from the commands directly.
2 Likes
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.