Search Results

Search: Posts Made By: vingupta
20,999
Posted By vingupta
re arg list too long
I am sorry if I was not clear ls -l * will work but if we do ls -l ABC* where file names like (ABC1, ABC2, ABC3 .... ABC4000 and ABC is not a directory) does not work.

find . -name ABC/* is not...
5,640
Posted By vingupta
Try this code
Have two files first.sh, second.sed as below.

first.sh
-----------------------------
#!/bin/ksh
for i in *.txt
{
echo $i
/usr/bin/sed -f second.sed <$i> temp1
mv -f temp1 $i
} ...
20,999
Posted By vingupta
arg list too long
I do ls -l ABC*, I get arg list too long message. This will not happen if ABC* has small no of files I believe 4000 files is limit. Any way of avoiding this.

I even tried like this

for i in `ls...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy