Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
need help with auto file delete
Name: j_hornung47 Date: August 24, 2006 at 16:51:46 Pacific OS: unix CPU/Ram: unix Product: unix
Comment:
I have a ftp site, where I am using the following CRON scheduled script to delete all files in sub-directories that are older than 14 days. It works fine till now.
find . -mindepth 2 -mtime +14 -exec rm -rf {} \;
But, now I want it to do the same but ignore (not delete any files or sub-dirs) in a directory under the root called "IMP FILES". How do I enhance this command so it continues to delete the files older than 14 days on rest of the ftp but skip a particular folder.
Summary: Guys, I am new to UNIX world and really need help of your expertise. I have file with each line of fixed length eg., DT00123 1234 FFF 56565 DT00923XX3425ZZFFFYY34281 As you can see there is no fix del...
Summary: Hello! i hope somebody can help me. I would like to have help with an shell script(sh) assignment. I have a file and it contains something like the following text: 02gozal:godam:godhar:TGFGK:halllo ...
Summary: I need help displaying users in a certain format. I need it to show the UID, PID, PPID, CLS, PRI, C, STIME, TTY, TIME, and COMD. In that order. I have looked around and looked in my unix book but cant...