6

Moving files from one directory to another based on 2 date variables

view full story
linux-howto

http://www.unix.com – Hi All, I am currently coding for a requirement(LINUX OS) where I am supposed to move a file (Lets Call it Employee.txt) from Directory A to Directory B based on 2 date fields as below, Date_Current = 20120620 Date_Previous = 20120610 Source Directory : /iis_data/source Target Directory : /iis_data/destination Files available in Directory: 20120609_Employee.txt 20120612_Employee.txt 20120615_Employee.txt 20120616_Employee.txt 20120617_Employee.txt 20120620_Employee.txt I need to move all these files (EXCEPT the 20120609_Employee.txt) to destination Folder. Also, I need to write the a (HowTos)