10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm a first time poster looking for help in scripting a task in my daily routine. I am new in unix but i am attracted to its use as a mac user.
Bear with me...
I have several files (20) that I manually drag via the mouse into several named directories over a network. I've used rsync... (14 Replies)
Discussion started by: SonnyClark
2. 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
3. UNIX for Dummies Questions & Answers
In a parent directory there are several files in the form
IDENTIFIER3_Z, etcIn the same parent directory there are corresponding directories named... (7 Replies)
Discussion started by: spirospap
4. Shell Programming and Scripting
Hi guys, I'm not a great programmer but I do this project with a cool data and it has tons and tons of files which I need to sort before I can work with it.
The problem I need to solve is to move all files that look like
So it involves cycling through... (7 Replies)
Discussion started by: drunkoctopus
5. Shell Programming and Scripting
I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find )
The directory structure looks like :-
When I tried the following command , it movies all the log files... (8 Replies)
Discussion started by: frintocf
6. Shell Programming and Scripting
I have various log files in different paths. e.g.
and above these have an archive folder... (6 Replies)
Discussion started by: acc01
7. Shell Programming and Scripting
I want to move the files in a dir to different dirs based on their file names.
Ex: i have 4 different files with name -
and the 1st... (4 Replies)
Discussion started by: Sriranga
8. Shell Programming and Scripting
I have some files like this
all this folders and files are under the mp3 folder.
I would like to move just the mp3s to another folder but retain the subdir structure i have.
So if... (4 Replies)
Discussion started by: jason7
9. UNIX for Dummies Questions & Answers
Hi all -
I'm trying to rename a large number of files all at once and need some help figuring out the command line syntax to do it. I've already done quite a bit of research with the rename and mv commands, but so far haven't found a solution that seems to work for me. So:
The files exist... (10 Replies)
Discussion started by: dave920
10. Shell Programming and Scripting
I have a shell script to find files older than 'X' days ($2) in directory path ($1) and delete them.
my_file_remover.sh /usr/home/c 90
Now, I need to modify this script and add it in CRON, so that it checks other directories also.
my_file_remover.sh /usr/home/c... (3 Replies)
Discussion started by: guruparan18