You are not logged in.
Say I copy directory foo to bar, then make some changes to the contents of bar (modify existing files, create new ones). Is there a simple way to dedupe bar against foo, eg. remove everything but the new/modified files?
Last edited by alphaniner (2014-09-18 18:47:41)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
rsync with --delete
Something like?...
rsync -avvru --delete /bar/ /fooman rsync as I'm pretty sure its possible.
Last edited by hydn (2014-09-18 17:55:18)
Linux Performance Blog: https://linuxblog.io/
Offline
...whatever automatic tool you use, make sure you make a backup copy of both directories first!
Offline
There is fdupes, rmlint, rmdupe, ddupes, finddupes, ...
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
There is fdupes, rmlint, rmdupe, ddupes, finddupes, ...
Is that all? ![]()
Thanks, I should have looked closer at my google results. I swear when I've looked into this in the past I only found stuff like lessfs.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline