Hi all,

Short Summary:
How can I find files which parent folders have the same name?


Long version:
For a friend of mine I'm helping with tidying up his files and folders.
What he basically did in the past was copying folders several times like
for (bad) backups... So many files have been copied a few times,
everything was quite a mess.

As a first step I put everything into a new folder tree, modified the
mtimes by some decades to reflect which files should be preferred and
deleted duplicate files using fdupes afterwards, then I deleted all
empty folders.

Now there is the new "target folder tree" where most of the files are
already correctly sorted in, but there are also the "sparse folders"
left - i.e. folders where most of the files are already deleted, but
some are still left.

Assuming that at least some of these files are in parent folders with
the same name, do you know any tool which can help in finding them and
moving them around?


Thanks a lot!

All the best.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/594c9406-b7b2-467f-a84a-ae0a13d8a...@gmx.ch

Reply via email to