delete

Delete Files Older Than x Days on Linux / Unix

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete them. Command Syntax find /path/to/files* -mtime …

Delete Files Older Than x Days on Linux / Unix Read More »

AIX Delete problem

Today one user complained, that he is not able to delete files. Most probably this was due to non printable charter in the file name. # cd /oracle # ls -ltr total 7151632 drwxr-xr-x    2 oracle   oinstall        256 May 27 2008  lost+found drwxr-xr-x    3 oracle   oinstall        256 May 28 2008  app drwxr-xr-x    2 oracle   oinstall       …

AIX Delete problem Read More »

Scroll to Top