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 18.104.22.168. I can't seem to find the right command parameters. Help! (4 Replies)
Discussion started by: mattadams1983
3. 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
4. Shell Programming and Scripting
I wan to pick the latest modified file name and redirect it to a file ..
ls -tr | tail -1 >file
but this is printing file ins side the filename ,
can anyone help me out (5 Replies)
Discussion started by: vishwakar
5. Shell Programming and Scripting
Im trying to find a way to test whether the last modified time is older than 1 day or not
if ; then
$TOUCHED = "recently"
$TOUCHED = "not so recently"
ive seen loads of posts where people are using find and the -mtime property but i... (2 Replies)
Discussion started by: rethink
6. UNIX for Advanced & Expert Users
I am new bie to Unix. Might be a simple question I am asking.
I want to find the last modified time of a file and find the difference between the currrent time and the last modified time. Appreciate, if someone can throw some light on what commands can be used.
James (2 Replies)
Discussion started by: JamesJoe
7. UNIX for Dummies Questions & Answers
How to list all the files in a directory that are modified on a particular date?
Also need to know the count,i.e number of files modified on a particular date.
Ashok (1 Reply)
Discussion started by: ashok.k
8. UNIX for Dummies Questions & Answers
I only know how to list all sub-directories or files in specified directory. I don't know how to order them by modified date, furthermore, I don't know how to get the top one file in the sorted list. Wish you can do me a favor. Thanks in advance! (3 Replies)
Discussion started by: crest.boy
9. UNIX for Advanced & Expert Users
how to directly open a last modified file in a directory? Please help (5 Replies)
Discussion started by: apsprabhu
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