10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Frnds,
i have a folder test in which files generated daily how to chek the files that are modified on that day as a condition for ex,
if
then echo "i have got something to do with the file"
else
echo" sorry"
fi
i will have more than 3 to 4 files that are modified today. and if... (5 Replies)
Discussion started by: mahesh300182
5 Replies
2. 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
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
is it possible to come up with a list of files that are modified before a certain number of hours only using the... (3 Replies)
Discussion started by: momo.reina
3 Replies
4. Shell Programming and Scripting
Hi,
I'm new to shell script programming, I only have Java programming background.
I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
1 Replies
5. Shell Programming and Scripting
How to change the modified time of a file to any specified time.
ls -ltr
drwxr-xr-x 2 pipe pipe 4096 Jun 10 10:33 coredump_06062008
----------------------------------------------------------------------
here file coredump_06062008 last modified time is Jun 10 10:33 and i... (1 Reply)
Discussion started by: ali560045
1 Replies
6. Shell Programming and Scripting
Hi,
When we use "ls -l" we are getting like below,
-rw-r--r-- 1 mdskl mds 4161479 Apr 12 14:57 VTTF2008.20080412145748.cc
But i need only modified time and filename only like below,
Apr 12 14:57 VTTF3008.20080412145748.cc
Thanks-:)
Senthil (4 Replies)
Discussion started by: senthil_seera
4 Replies
7. HP-UX
I am trying to periodically check that the environment variables have not been changed on a HP-UX server. This was going to be easy except I ran into the odd circumstance of having two files that should be created equally be created differently when one is created by command line and the other is... (1 Reply)
Discussion started by: Emancipator
1 Replies
8. Shell Programming and Scripting
actually, i'm making an Intrusion Detection System for education purpose (for project) using Bourne shell. The problem I get in that is:-
1. My application should check if there's some modification or alteration in the directory.
2, For that thing, I need to have every attribute of file and... (1 Reply)
Discussion started by: raku05
1 Replies
9. UNIX for Dummies Questions & Answers
My problem is with the find command. After looking through the forum I've got -
find . -mtime 2 -name "*"
which gives me a list of all the files modified in the last 2 days.
How do I change this to list files modified in the last 2 hours?
Sorry if this question is already on the forum... (4 Replies)
Discussion started by: am97395331
4 Replies
10. UNIX for Advanced & Expert Users
How do you change the modified time of a file on UNIX?? (4 Replies)
Discussion started by: frank
4 Replies