Search Results

Search: Posts Made By: offerbukra
4,540
Posted By offerbukra
Alternatively, if you just want to keep the most...
Alternatively, if you just want to keep the most recent 30 files (rather than files newer than 30 days), you can do the following:
rm `ls -t | head -30`[/quote]

I have tried that and it deletes...
4,540
Posted By offerbukra
thank you very much guys. I'm new to unix and...
thank you very much guys.
I'm new to unix and this forum is sooo helpful.
4,540
Posted By offerbukra
delete file by date
Hello everyone,
I have a folder with many files.the script (csh) runs daily and adds a new file to the folder.I need to delete the first file added that month so I will have only 30 files left every...
17,613
Posted By offerbukra
thanks a lot.works great.
thanks a lot.works great.
17,613
Posted By offerbukra
read string from file into variable
Hello,
I need to read from a file consisting of only one integer and enter that number into variable.can anyone help?
the script is written in cshell.
thanks.
Showing results 1 to 5 of 5

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