10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like my script to display date timestamps in the file name for every script execution.
Below is the scenario: (just for testing purpose)
I scheduled a cron job, lets say it runs every 5 min and record/logs output in to a log file.
0,5,10,15,20,25,30,35,40,45,50,55 *... (5 Replies)
Discussion started by: System Admin 77
2. Shell Programming and Scripting
originally the shellscript
echo "Try to find any file exist in the... (10 Replies)
Discussion started by: feilhk
3. Shell Programming and Scripting
I have different files with different timestamp and different base file name, I have to group those files based on basename and provide a unique file name for similar file names.
My Directory has following files.
abc_filename_20130623:00:09:00.txt... (1 Reply)
Discussion started by: user_linux
4. Shell Programming and Scripting
Below is a directory containing links new2,list,new1.
I need to get the size and timestamp for them.
How do i get these details. Please help
lrwxrwxrwx 1 xxx abc 11 Nov 24 17:34 new2 -> ./org1/new2
lrwxrwxrwx 1 xxx abc 11 Nov 24 17:34 list -> ./org2/list
lrwxrwxrwx 1 xxx abc 10... (2 Replies)
Discussion started by: pradebban
5. Shell Programming and Scripting
I have lots of files in this format:
The numbers represents the date and time (YYYY.MM.DD_HH-MM-SS)
How can I extract the dates from the filenames, and use the dates in the file timestamp?
I guess this can be done by using "find", "sed" and "touch"?
Can... (6 Replies)
Discussion started by: qwerty1234
6. Shell Programming and Scripting
could you pls help me out in PERL
i have a requirement like
can you pls help me to rename/remove timestamp
Is there any way to remove timestamp alone
Thanks (3 Replies)
Discussion started by: vaas
7. Shell Programming and Scripting
My file name is of the format:
my timestamp is of the format:
How to extract the date strring and time string into seperate variables in the shell script, after reading the file as the input?
I want to get the variables... (9 Replies)
Discussion started by: av_vinay
8. Shell Programming and Scripting
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
9. Shell Programming and Scripting
Does anyone know how to add a timestamp to a file's name extension in a shell script? Please help.. (3 Replies)
Discussion started by: walterja
10. UNIX for Dummies Questions & Answers
whats going on guys. below is a script i made and am just curious if there is a "time stamp" command. so i can set the timestamp in a filename.
# This scripts takes a list of files in the INDIR variable and compairs it to a list of files that are open in the same directory.... (2 Replies)
Discussion started by: Optimus_P