Find files in current directory, not subdirectories
I have files in a directory that I want to move to an archive directory. ie
archive to ..
The report directory also contains sub-directories, ie ..
.. I dont want to archive those files.
If I run this command ..
find *.rtn -mtime +60
.. it lists all the files I want to move to archive.
If I use it within 'for', it lists EVERY file and sub-directory ..
for file in `find *.rtn -mtime +60`
I'm sure this is easy !