10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've got this script to loop through all folders and move files that are more than 2 years old. I'm using the install command because it creates the necessary directories on the destination path and then I remove the source. I'd like to change the script to use the mv command since it is much... (4 Replies)
Discussion started by: consultant
2. UNIX for Dummies Questions & Answers
Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.
using the find command . Could you please assist me how to put the automation using the shell script .
... (11 Replies)
Discussion started by: venkat918
3. Shell Programming and Scripting
i have a folder, with tons of files containing as following,
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
4. UNIX for Dummies Questions & Answers
I have a large amount of files that I need to copy from one server to another server using SFTP. Can comeone please help me with the command I would use here?
Here is what I am thinking, but being new at this I know this is probably wrong:
Login to the destination host using... (1 Reply)
Discussion started by: SalientAnimal
5. Shell Programming and Scripting
Am new to both Unix & this Forum - Need some help on a script that I am trying to write:
In a Directory i have few text files which might or might not contain some text that I am trying to find.
Once that text is found in any of the files, it needs to be removed from the file
... (6 Replies)
Discussion started by: rituparna_gupta
I have over 1 lakh pdf files.
I want to create folders like Disk-1, Disk-2 ..... & want to move 3000 pdfs per folder. Can i do it by script? Please help me.
Thanks & Regards
Parag Nehete (4 Replies)
Discussion started by: paragnehete
7. Shell Programming and Scripting
here is the description to my problem.
input parameter: $date1
based on the date i need to select three files starting with audit.log* based on its modified date, a date before, a date after(if its exists). We need to compare the input date to modified date of the file. And then... (3 Replies)
Discussion started by: ashrocks
8. Shell Programming and Scripting
I am Trying to Write a script that can goto 4 different directorys on the server & remove the Files older then 30 days ??
logs1 logs2 logs3
Now I need to remove files under
logs1 logs2 logs3 which are older then 30 days whose name stat 'sit' , 'mig','bld' .
in... (3 Replies)
Discussion started by: Beginner123
9. UNIX for Dummies Questions & Answers
Please help me with archiving previous day syslog files.
the files have no extension and have the format YYYY-MM-DD.
I want to archive the file then move it to some other machine.
thanks. (2 Replies)
Discussion started by: coolatt
10. UNIX for Dummies Questions & Answers
Is this possible? Let me know If I need specify further on what I am trying to do- I just want to spare you the boring details of my personal file management.
Thanks in advance-
Brian- (2 Replies)
Discussion started by: briandanielz