I have a perl script that recurses through a given directory structure, identifies files, and then reorganizes the files by placing them in a new directory structure.
I use the cp or ditto commands to accomplish the last part. E.g. `cp $filename $chromat_dir`; #copy encountered file to the chromatograph_dir or `ditto $filename $chromat_dir/$file_prefix$file_suffix`; I find that sometimes the sizes of the copied files are not the same. E.g. Original size 192 KB Copied size 4 KB There are a LOT of files I am dealing with. Maybe 3 GB. Has anyone had a similar issue? Suggestions? Thanks, -- Ari http://binf.gmu.edu/akahn/ "We are the music makers. We are the dreamers of dreams." Gene Wilder as Willy Wonka, quoting O'Shaughnesy