Search Results

Search: Posts Made By: tagro82
18,501
Posted By tagro82
Use ls -R and then test whether it is a file
Algo
1) ls -r >> data file
2) counter =1
3) Now read line by line in while loop-- while ($ counter < no of lines in file)
if (test -f sed -n ${counter}p)
{ remove the file rm -f sed -n...
Showing results 1 to 1 of 1

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