02-17-2010
Yes. It's specific to your OS and shell but the maximum length of an input line is in the kilobytes range. If you have to ask, you're probably matching enough you might as well do it with xargs: 'find ./ -maxdepth 1 -mindepth 1 -iname '*.txt' | xargs ftp_auto', xargs will split it apart into multiple ftp_auto calls.
8 More Discussions You Might Find Interesting
1. HP-UX
Hi All,
Can anyone please clarify me the following questions:
1. Is there any file size limitation in HP-UX 11i, that I can able to create upto certain size of file (say 2 GB) and not more then that????
2. At max. how many files we can able to keep inside a folder????
3. How many... (2 Replies)
Discussion started by: sundeep_mohanty
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
How can I work on following request?
Delete all the html files older than 29th November from the path - /dding/ting/tong/unixyang/output (4 Replies)
Discussion started by: tonyvirk
4 Replies
3. UNIX for Dummies Questions & Answers
I am fully capable of reading a book to get the answers or looking to the web, but no one has the answer to this one. I had a Zoom 56K V34 Plus external modem (2836A) attached to my Unix box for about ten years without a flaw. This weekend I couldn't access the box remotely through the modem and... (0 Replies)
Discussion started by: scivic
0 Replies
4. Shell Programming and Scripting
How would I get a total of a wildcard of files from the 'du' command?
du -s *.pdf
Result:
736 11mens_bracket.pdf
64 2011_NIT_Bracket_3_13_11.pdf
80 Doing more with Less part1.pdf
1064 Doing more with Less part2.pdf
28 Parkview_1309_Garage.pdf
3964 statsheet-bracket-2011.pdf
Expected... (7 Replies)
Discussion started by: AlphaLexman
7 Replies
5. Shell Programming and Scripting
Hi All
I have converted a load of files to different formats but I am now left with a folder with loads of differnt files
All of them are called the same, the only differnce is the file extension (Sizes also vary so cannot do anything with MD5)
example
file1.abc
file1.xyz
file2.abc... (2 Replies)
Discussion started by: tofa83
2 Replies
6. Shell Programming and Scripting
I have a log file that I want to extract the field name and the field value
and write them to a text file for importation it a database table for reporting purposes.
How can I extract the desired data from this file .
Example: dbt_dbid=4
dbt_dbid is the field name
4 is the field value... (4 Replies)
Discussion started by: JolietJake
4 Replies
7. Shell Programming and Scripting
I have a script that does log rotation, at 10000k, it will print out the logs as follows:
name.date.0.log(1gb)
name.date.1.log(1gb)
name.date.2.log(200mb) << current log being written to
at midnight it reverts back to : name.date.0.log(size)
I want it to be able to go past date.9.log... (2 Replies)
Discussion started by: bigbenn
2 Replies
8. IP Networking
I even don't dare to ask for a hint, but as I am looking for clues may someone can help me, though reading me bsd handbook. It is about one machine running as media play studio with a debian distro and one machine running bsd 10.2 connected to one router.
By booting first the debian machine it... (4 Replies)
Discussion started by: 1in10
4 Replies