Search Results

Search: Posts Made By: nishantrk
2,897
Posted By itkamaraj
$ ls -1 | sort -tF -k2 -n LTR.PDF LTR.PDF1 ...
$ ls -1 | sort -tF -k2 -n
LTR.PDF
LTR.PDF1
LTR.PDF2
LTR.PDF10
LTR.PDF11
LTR.PDF20





ls -1 | sort -tF -k2 -n | while read file
do
# your if condition
# your ftp code
done
2,897
Posted By knight_eon
Try this: [[ Assumption : basename of the...
Try this:

[[ Assumption : basename of the file will remain the same. Only the sequence number will change ]]


for i in ' ' $(seq 1 99); do # Please include ' ' as...
Showing results 1 to 2 of 2

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