1

mtime unexpected behaviour

view story
linux-howto

http://www.unix.com – Hi All, My requirement is to remove the more than 60 days files from Archive folder, so prepared this command. Code: for files in `find /abc/Archive/<file_name_25032012.dat> -type f -mtime 61|xargs ls -lrt` do   rm -f $files done I tested this command in both unix and informatica. In unix if files are exists on this date then it's identifying files and removing else it's removing script files. In informatica if file is exists on this date then identifying files and removing else it point to informatica library or ddl files which are installed in unix and removing them. so any (HowTos)