Tagged Questions
0
votes
1answer
257 views
Shell script to delete all files which are older [duplicate]
Possible Duplicate:
Deleting files by age
Write a shell script to delete all the files which are "n" of older that current day, where n can be 3days. 2days, or 1 year etc. The above script ...
0
votes
2answers
971 views
Deleting many files except one type [duplicate]
Possible Duplicate:
Deleting all files in a folder except files X, Y, and Z
I am writing a script to compile many .tex files. After that, many auxiliaries files were created.
So, I would ...
5
votes
2answers
144 views
Is it safe to remove a script file from within that script?
Imagine I have a script foo. It should be run once when the user logs in and isn't needed after a successful run.
My question: Is it safe to remove the script file from within the script?
E.g.:
...