1

[ubuntu] Compare Files in Directories

view story
linux-howto

http://ubuntuforums.org – I am consolidating my photo collection from multiple directories into one big folder. I am using the command find /home/(A) -type f -exec cp {} /home/ (B)/ \; to extract all the pictures in the multiple folders in parent folder (A) into the single folder (B). This appears to work very well, after the command has run (B) just contains jpeg files, no files within sub directories. To check everything has gone accross I looked at the Properties of (A) and then (B) - I would have thought that as a folder is not big the size of the folders would be almost the same. However, (A) is 874 items tot (Hardware)