10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have scenario where I need to zip huge number of DB audit log files newer than 90 days and delete anything older than that. If the files are too huge in number,zipping will take long time and causing CPU spikes. To avoid this I wanted to segregate files based on how old they are and... (2 Replies)
Discussion started by: veeresh_15
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm running atq for a user and its showing 2 'at' jobs in the queue to start at a later time.
> atq
Is there any way i can find out the creation date/time of these jobs?
and ideally what job created them and what script(s) they are going to run?
All i can see is the job number and... (3 Replies)
Discussion started by: finn
3 Replies
3. Shell Programming and Scripting
Hello Gurus,
I am facing one issue to get a file for a specific time. There are about 300 files created between 6.30 pm to 7.15 pm everyday.
Now I wanted only the file which is created on 6.45pm. No other files required.
I have used "find" command to get the files, but not getting the expected... (3 Replies)
Discussion started by: pokhraj_d
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm trying to improve my Unix skills and I'm wondering what is the best way to move some files based on filetype and attributes like time created?
For instance, lets suppose I have a directory with many different files in it and I'd like to move all the jpgs that were created between May... (6 Replies)
Discussion started by: LuckyTommy
6 Replies
5. Shell Programming and Scripting
Hi ..
I have a list of filenames in a particular file. All thse files get generated in the same directory. No w i want to find out which of thse got generated last and capture that time .
Have written a while loop but seems getting struck ...
while read line
do
if
then
rvst_capt_time=... (7 Replies)
Discussion started by: ultimatix
7 Replies
6. Filesystems, Disks and Memory
Hi,
I am trying to duplicate a symbolic link, the new link should be the exact replica of the original one, with same file attributes, permissions, owner, group and even the time.
i m successful in changing the owner and group, but when i try to change the time using utime, the time of the... (1 Reply)
Discussion started by: avanigadhai
1 Replies
7. Shell Programming and Scripting
I need to write a script that copies files from one directory to another that were created after "today 6:30". This script will be NOT be ran at the same time each day.
any help is appreciated. (2 Replies)
Discussion started by: jm6601
2 Replies
8. UNIX for Advanced & Expert Users
I have lot .log files in a directory.I need to take the one got created today.Is there any way to get the time of creation of a file? (6 Replies)
Discussion started by: yakyaj
6 Replies
9. Shell Programming and Scripting
Hi guys
I need to find out a file created at 'x' time and the name of the file is rag.rxt
100's of these files are created every minute and i dont know how to find the file created at a particular time. pls help me with the command to search that.
thanks in advance (2 Replies)
Discussion started by: ragha81
2 Replies
10. UNIX for Dummies Questions & Answers
I created a user, i login as a root. I add him in the group where he can access and login as a root! I checked it in users' list and in group's list, he is there. My problem is this, I cant login using the username/account I just created! What should i do to use and login the user/account i've just... (5 Replies)
Discussion started by: jerome
5 Replies