How Do I Move a File to a Specific Date in Linux?
Contents How Do I Copy a Specific Date in Linux? -Exec Would Copy Every Result Returned by Find to the Specified Directory ( Targetdir in the Above Example)...
How do I copy a specific date in Linux?
-exec would copy every result returned by find to the specified directory ( targetdir in the above example). The above copies all the files in the directory that were created after 18 September 2016 20:05:00 to the FOLDER (three months before today I would first store the list of files temporarily and use a loop.
Must Read
How do I move a specific file in Linux?
Moving on the command line. The shell command intended for moving files on Linux, BSD, Illumos, Solaris, and MacOS is mv. A simple command with a predictable syntax, mv <source> <destination> moves a source file to the specified destination, each defined by either an absolute or relative file path.