I want to move all files from one directory to another directory excluding today (sysdate files) on daily basis.
file name is in pattern file_2013031801, file_2013031802 etc
I want to move all files from one directory to another directory excluding today (sysdate files) on daily basis.
file name is in pattern file_2013031801, file_2013031802 etc
search on "find command to search and move the files".
find <moved-from> -name file\* -type f -mtime +1 -exec mv {} <moved-to> \;