> Yikes. > > I could have used rmtree() of File::Path to make sure it is empty (the > obvious drawback is that it is slow).
There's always the pseudo-hackish way: add a flag to psync which causes it to delete .DS_Store files in empty directories before rm-ing them. Ugh. Osx finder... > find /Volumes/Backup -type f -name .DS_Store -delete -print > > before committing psync. That ensures that .DS_Store does not exist. Ah, for a moment I thought that would be useless becayse psync would just re-sync the DS_Store, but if it goes through and cleans first then it would work, xlnt. Just did that (but didn't test psync since it will copy 4GB of my mail) :) > Yes, I will but I can't make promises as to when to release the next > version of MacOSX::File. Unfortunately I am thrashing recently. Dude, ditto. Also this is minor. Psync has never fscked up on me and I consider this an extremely minor annoyance at worst.. Deleting a couple empty folders from a perfect bootable backup copy of my box is not a big deal :) > Dan the Man with Too Many Projects to Proceed Heh, know the feeling. Good luck ta yeh, _a
