Search Results

Search: Posts Made By: SunnyK
8,624
Posted By SunnyK
Log 'syslog start/stop/restart' messages
How can I tell my syslog.conf to log "syslog start/stop/restart" messages on a Solaris box?
5,896
Posted By SunnyK
Check if certain files exist in a directory, if not add name to a textfile
We recieve some logs on our windows box via FTP on a daily basis, in the same directory. I would like to check for missing logs files and add their name to a text file.

Something like...

Check...
7,846
Posted By SunnyK
Thanks again Jean :-)
Thanks again Jean :-)
7,846
Posted By SunnyK
How to check if a direcorty exists?
Hi Good people :D

How do I check if a directory exists, if it does then carry on rest of the script, otherwise exit.

-------------
cd $mainfolder/system1

#unzips files arrived in last 24...
2,809
Posted By SunnyK
Hi Yogesh I have got it to work using ...
Hi Yogesh

I have got it to work using

find * -mmin -1440

which lists files modified in the last 24 hrs (from current time)

I'd also like to unzip these files returned. How do I go about...
2,809
Posted By SunnyK
I know that it is possible to do find *...
I know that it is possible to do

find * -mtime -1

This will display files modified in the last 1 day. I'd like to do this for last 15 hours so it displays the files modified in the last 15 hrs...
2,809
Posted By SunnyK
Unzip files where modified time>05:00 ?
Hello :D

I am on the shell prompt in a directory, with couple of zip files in it.

How can I

unzip '*.zip' where modified time > 05:00


...please help

Regards
SunnyK
39,585
Posted By SunnyK
Thanks Jean...it works! :-) You're a star!
Thanks Jean...it works! :-)

You're a star!
39,585
Posted By SunnyK
Hey Jean, Thanks for replying... The...
Hey Jean,

Thanks for replying...

The solution you suggested should help me accomplish my task until date reaches the value 070831.

However, after that, I'd like the script to increment the...
39,585
Posted By SunnyK
Increment date in 'for' loop?
Hi Guys,

My first post..:)

Right...I want to move existing files (with some date in their name) currently in $mainftp, to $mainfolder/$foldate/system1.

I'd like to be able to increment date...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 11:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy