Hi All,
I am coding for a requirement where I need to read a file & get the values of SUB_DATE.
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
201206
My OS is Solaris 10 (64 bit) and I have many files in a logs directory where we receive 40-50 logs every day.
I am looking for a smart way to bulk rename directories in my photo library based on the date the pictures were taken.
My specific use case: Export the image library from iPhoto or Aperture on OS X to a more permanent and OS-independent file and folder structure.
The input list of directories would look like this:
1.2.2012
input_directory_name
The renamed output should look like this:
2012-0
Hi All,
Request your expertise in tackling one requirement in my project,(i dont have much expertise in Shell Scripting). The requirement is as below,
1) We store the last run date of a process in a file. When the batch run the next time, it should read this file, get the last run date from the file.
Hi,
need to zip all files in a directory and move to another directory after the zip..
i am using this one but didnt help me...
Code:
zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj
mv in_proj_`date +%Y%m%d%H%M%S`.zip /path/source/
i am trying to zip all the files in my_proj directory with the timestamp appened to it and after the zip trying to move to source directory..
the above c
Hi
I need substring from the file name of list of files.
Hi All,
I am trying to print the dates that falls between 2 date variables into a file. Here is the example.
$BUS_DATE =20120616
$SUB_DATE=20120613
Output to file abc.txt should be : 20120613,20120614,120120615,20120616
Can you pls help me accomplish this in LINUX.
Thanks
Freddie
I want to sort only files by update dates including sub-directories.
I found out ls -lrtR |grep ^-. but it doesn't seem to sort by update dates.
And I need to save this list into a file.