10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
First time poster. I am looking for a way to script or program the process of moving files from one folder to another, automatically, based on the count of files in the destination folder.
I was thinking a shell script would work, but am open to the suggestions of the experts... (6 Replies)
Discussion started by: comtech
6 Replies
2. Shell Programming and Scripting
Hi UNIX Experts,
Kindly help me in this requirement where i want to move files based on its status.
For Eg:
I have 3 dir's
--FileBox Dir
this directory will have all the files which i need to process (in informatica ETL Tool)
--Succeeded Dir
this directory will have files which... (4 Replies)
Discussion started by: kumarinfa
4 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I need a script which moves files based on month. Example :
Apr 29 03:16 log4.txt
Apr 29 03:16 log5.txt
May 4 09:17 log1.txt
May 4 09:17 log2.txt
Move Apr files into Apr2015(Folder)
Move May files into May2015(Folder).
This is urgent requirement , if you can help me... (5 Replies)
Discussion started by: rockingvj
5 Replies
4. Solaris
Hi All,
I want to move the files in to different folders based on the files month in the file timestamp.
For example
All the september files in the directory should moves into the folder "sep_bkp_files" , August files in to aug_bkp_files folder...
Please help me to achive the above... (10 Replies)
Discussion started by: velava
10 Replies
5. Shell Programming and Scripting
Hi All,
I have 2 LINUX scripts (Lets say ScriptA & ScriptB) which copies files (lets say 'date_abc.txt , it goes to a while loop & checks for the files between 2 date varialbles) to directory X. (as Shown Below)
These 2 scripts are called from 2 different Autosys schedules & runs at the... (3 Replies)
Discussion started by: dsfreddie
3 Replies
6. Shell Programming and Scripting
Hi Folks,
I have different type of file in my current directory. From my current directory i need to move the file which is start with csp_rules and if the file is having the string payg , then I need to move all this files to another directory /output/record. Please help me how to do this?
... (3 Replies)
Discussion started by: suresh01_apk
3 Replies
7. Shell Programming and Scripting
I am looking for advice on how to write a script that will rename and/or move files to a different directory based upon the results of a grep.
Let's say I have ten files in a directory. Some of them - not all - contain the text 'HELLO'. I would like to be able to grep the files for that text,... (3 Replies)
Discussion started by: rjhjr64
3 Replies
8. Shell Programming and Scripting
Hi people,
i need you help on this if you can.
I have a script that does the move command when it searches for a that doesn't match the pattern. This Pattern is on a list.
When it run's and doesn´t found no files but it haves 2 more folders it moves the folders too.
Ex:... (1 Reply)
Discussion started by: osramos
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I have a directory which has crores of files since from 2003. I want to move ony the 2003 files to another directory. Please help (9 Replies)
Discussion started by: IHK
9 Replies
10. UNIX for Dummies Questions & Answers
I have a directory which has crores of files since from 2003. I want to move only the 2003 files to another directory. Please help in doing this.
Thanks (1 Reply)
Discussion started by: IHK
1 Replies