Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Remove files command
Name: nimi Date: October 24, 2007 at 20:18:57 Pacific OS: Unix CPU/Ram: na Product: na
Comment:
Hi,
I am trying to remove 30 days file from the templog directory by executing the following command but it says /usr/dt/bin/: Permission denied.
This will search for all files in the directory /omcgen/metrica/DRI/templog and below that haven't been modified for more than 30 days and remove them.
But: you will get error messages when you try to delete directories and when you try to remove files that you have no authorization for. Use find's option "-type f" to search for regular files only and rm's option -f to try extra hard to remove the files.
Summary: Hi all, I'm spendind hours trying to figure out how a script could remove files that are older than 30 days, matching some criteria in their names, in a specific volume and within different user folde...
Summary: On AIX you would do the following Steps to recover a deleted file -- 1) "ls -id {dir}" (where dir is directory where file resided) Record INODE number for next step. 2) Unmount the filesystem. ...