10 More Discussions You Might Find Interesting
1. OS X (Apple)
Am performing a find based on filename and result can contain multiple files being found
Let's say my find command is
find /Archive -f -name 12345.pdf
and result of find command is
please note white space in folder names
I... (2 Replies)
Discussion started by: gigagigosu
I'm using a script that I need to get a file's "last modified date" in a format like 01:51:14 PM. We are running on AIX 188.8.131.52. I can't seem to find the right command parameters. Help! (4 Replies)
Discussion started by: mattadams1983
3. Shell Programming and Scripting
Can someone draw up a script that for every file, folder and subfolder and files that will copy the creation date over top of the modified date??
I know how to touch every file recursively, but no idea how to read a files creation date then use that to touch the modification date of that file,... (3 Replies)
Discussion started by: toysareforboys
4. Shell Programming and Scripting
In my directory , i have many days file but i want to see all those which are of todays date.
i tried this but it gives all the files
mtime -0 |ls -ltr
I tried the below option as well.
19635 find -iname "*.LOG" -mtime
19636 ls -ltr *.LOG -mtime -1
19637 ls -ltr *.LOG... (7 Replies)
Discussion started by: guddu_12
5. Shell Programming and Scripting
Can you please help me to get only the files which has the modified date as yesterday and before?
Thanks in advance!
Velava.S (4 Replies)
Discussion started by: velava
6. Shell Programming and Scripting
How can i search for all the files in a particular directory which are not updated from past 5 days.
Sateesh (4 Replies)
Discussion started by: kotasateesh
7. UNIX for Dummies Questions & Answers
Sorry for the basic question, but I have a feeling that my developers are circumventing our change control process, and I want to be able to easily keep track of the last modified date of sub-folders of the production folder.
Basically, we have this major folder PROD, and then each application... (1 Reply)
Discussion started by: saint01
8. Shell Programming and Scripting
i have a script that checks inside the file and find the start date and end date with time...........
TZ=`date +%Z`+24 ;b=`date +%Y-%m-%d`
for i in DBMaint.log
echo "Start Time:" >> /ednadtu3/u01/pipe/naveed/Report.txt
cat $i | grep... (3 Replies)
Discussion started by: ali560045
9. Shell Programming and Scripting
I'm on a practical training and i have to change a shell script which print out a HTML-File with all Printers (and features example: IP, Mac etc.) they have in the factory.
The Features of the Printers are on each separate file. i mean every printer have an own file with it features.
... (12 Replies)
Discussion started by: cengiz
10. UNIX for Dummies Questions & Answers
I am trying to load a group of files and their last dates modified into a text file that will in turn be used with SQL*Loader to load these files into Oracle. I am using a *.ksh script. I am getting the name of the file in by using the following:
for file_ext in 'cat loaddir.ext';
find... (2 Replies)
Discussion started by: akpopa