10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to look into multiple directories and pluck out the latest version of a specific file, regardless of where it sits within the directory structure.
Ex:
The file is a .xls file and could have a depth within the directory of anywhere from 1-5
Working directory - Folder1... (6 Replies)
Discussion started by: co21ss
6 Replies
2. Shell Programming and Scripting
A files last modified time is like 03/02/2012 xx:xx:xx
So what would be the command to convert the last modified in the given signature
Thanks for giving time and replying..:) (2 Replies)
Discussion started by: ezee
2 Replies
3. Emergency UNIX and Linux Support
Actually i did modification in a file on server by mistake, now its showing current time stamp, is there any way to set the files modified date and stamp to last modifies time.
Please advice here.Thanks in advance.:b: (7 Replies)
Discussion started by: saluja.deepak
7 Replies
4. Shell Programming and Scripting
Hi,
I have modified one file today. So if i give `ls -lrt filename` command it will show the current modified time.
But i wanted to know what is the previous modified time for this file
Is there any way to find this
Thanks,
Puni (3 Replies)
Discussion started by: puni
3 Replies
5. Shell Programming and Scripting
Dear all,
Need a quick help/suggestion on monitoring a particular directory .
We have a deployment directory say (/users/integration/deploy ) under this there are several files which can be edited by a number of users -
We need to write a script which will check this deployment directory... (5 Replies)
Discussion started by: jambesh
5 Replies
6. Shell Programming and Scripting
hi,
I want to find a file which is modified within last 2 hours
i am using sun-os
i tried find . -name <filename> -mmin 120
i found that mmin option is not supported in sun-os is there any other alternative option
suggestions welcome
thanks in advance (5 Replies)
Discussion started by: trichyselva
5 Replies
7. Shell Programming and Scripting
Hi,
I have a very urgent requirement here. I have to find all files in the specified directory but not in the sub directories(The directory name is stored in a variable) which are older than the current date as well as current time and rename it as filename_yyyymmddhhmmss.ext and move it into a... (7 Replies)
Discussion started by: ragavhere
7 Replies
8. Shell Programming and Scripting
I am trying to write a Korne Shell asking the user for a date and a directory and then search recursively in this directory the list of files modified after the date chosen. But I am not getting good results when I Test it...
#!/usr/bin/ksh
echo "Enter a date (YYYYMMDD) "
read date
touch -t... (2 Replies)
Discussion started by: marconi
2 Replies
9. Solaris
Hi ,
I am trying to find out the List of files modified or added aftter installation of any component on SUN solaris box .
But i am not able to do it using ls or find command .
Can somebody help me out ?
Thanks
Sanjay Gupta (2 Replies)
Discussion started by: sanajyg_mnit
2 Replies
10. Shell Programming and Scripting
I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of exact time. I am using Korn shell, and SUN OS.
Thanks in Advance,
Kiran (3 Replies)
Discussion started by: kumariak
3 Replies