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


Click here to return to the 'Is there a file limit with a pipe?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Is there a file limit with a pipe?
Authored by: kd4ttc on Sep 20, '04 09:40:12PM

On the version that you would use on a mac, which is the one where cpio is used rather than cp, the script calls for changing directory, then using find on the current directory. Find lists all the files in the directory recursively. Is there a limit in unix on the size of a text listing passed via a pipe? If so, this script would crap out with large numbers of files. (My situation calls for archiving 20 000 files, and will grow to 200 000 files in the future.) Perhaps a temporary file could be used to receive the file list to be fed to cpio.

Steve



[ Reply to This | # ]
Is there a file limit with a pipe?
Authored by: BobHarris on Dec 10, '06 08:08:51PM

Way late, but no there is no limit on how much data you can send through a pipe. You pour stuff in one end and it comes out the other.

Bob Harris



[ Reply to This | # ]