in reply to Re: Read contents of multiple files into new file and then move source files?
in thread Read contents of multiple files into new file and then move source files?

Wondering: Is it possible for a file to be created after the first wildcard is interpreted, but before the second, so a file would get moved that wasn't catted?

Aside from being on Windows, he's also talking about thousands of files, so a shell might balk at that many anyway. That'd lead to using find, which done right should eliminate any concerns about moving unprocessed files.

Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.

  • Comment on Re^2: Read contents of multiple files into new file and then move source files?

Replies are listed 'Best First'.
Re^3: Read contents of multiple files into new file and then move source files?
by jdrago999 (Pilgrim) on Feb 11, 2012 at 00:41 UTC

    Yes, yes, and yes.

    You get my ++ upvote across the board. My reply was hasty and without caffeine.