Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Two BIG potential problems' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Two BIG potential problems
Authored by: AndrewTurner on May 12, '09 09:06:52AM
I decided to test with the following structure
Test Folder
  file1
  Inner folder
    file1
    file2
    Innermost folder
      file1
      file2
      file3
The different files had different contents even if they had the same names. The result:
Test folder
  file1 (from Test folder)
  file2 (from Inner folder)
and in the trash:
Inner folder
  file1 (from Inner folder)
  Innermost folder
    file1 (from Innermost folder)
    file2 (from Innermost folder)
    file3 (from Innermost folder)
So, the script doesn't deal well with duplicate file names and any nested folders will get dumped in the trash with all their contents. If you know what's in your folders and know that neither of these issues are a problem for you, the script will work as written, just remember to select the top level folder before you start.

[ Reply to This | # ]