10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to execute multiple files in multiple folders and also output to be generated in the same folder?
I have a path like Sanity_test/*/* and it has around 100+ folders inside with files. I would like to run/execute those files and output of execution to be placed on same /... (1 Reply)
Discussion started by: pushpabuzz
2. UNIX for Dummies Questions & Answers
Hi I've been trying to find an answer to this question and was hoping someone would be able to help me.
I want to add a sub-folder to to an existing structure: for example
There are humdreds of theses folders - what i want to do is add a... (2 Replies)
Discussion started by: LouSan
3. UNIX for Dummies Questions & Answers
I am a TA for a computer science course and we have a program that flags code that appears to the same as other code that is supplied. In order for the program to check all of the student's programs, the programs all need to be named exactly the same. However, students don't like to follow... (12 Replies)
Discussion started by: bpmawhin
4. Shell Programming and Scripting
Hi I have folders 1 to 24 (24 folders in total) and inside those folders I have the same file names. I have a command that I want to run but rather than do it individually I was wondering if there is a command to run them all at once.
Phil (3 Replies)
Discussion started by: phil_heath
5. Shell Programming and Scripting
I would appreciate any help to write a script. I have folder A which contains over 30 thousands xml files, I would like create multiple folders and move those files (500 in each folders).
Thank you (1 Reply)
Discussion started by: mmsiddig
6. Shell Programming and Scripting
I need help.
I have to delete multiple directories inside a directory that are two weeks old.
Example: Today is July 09, 2012
Folder1 > folder1 (created June 4, 2012) -- should be deleted
> folder2 (created June 2, 2012) -- should be deleted
> folder3 (created... (4 Replies)
Discussion started by: jasperux
7. UNIX for Dummies Questions & Answers
I need to update the contents of a file that exists in several hundred folders.
I'm on a mac.
Can I use Terminal to execute a linux/unix command that will accomplish the overwriting of the file? (2 Replies)
Discussion started by: webguy262
8. Shell Programming and Scripting
I want to check if some directories with common prefix exist under current directory with bash, say, I have dictories like:
in the current directory. I did:
echo " directories exist "
echo " directories not exist "
fi (3 Replies)
Discussion started by: cristalp
9. Shell Programming and Scripting
Hey everyone, I'm fairly new to both unix and shell scripts. Right now I have a script that I can run in one folder (if a certain text file is there, do one thing, if it's not, do something else). I want to modify this to run in multiple directories. My setup is: a company directory, and within it... (2 Replies)
Discussion started by: melearlin
10. Shell Programming and Scripting
First of all, I'm a unix newbie so don't be to hard on me :) I'm not even sure if the thing that I want is even possible but here goes nothing:
On my linux based NAS I have the following structure:
|--- movie... (8 Replies)
Discussion started by: kvb