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?
Hello Team,
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
1 Replies
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
/toys/toy_1/new
/toys/toy_2/new
/toys/toy_3/new
There are humdreds of theses folders - what i want to do is add a... (2 Replies)
Discussion started by: LouSan
2 Replies
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
12 Replies
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.
Thanks
Phil (3 Replies)
Discussion started by: phil_heath
3 Replies
5. Shell Programming and Scripting
Hello all,
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
1 Replies
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
4 Replies
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
2 Replies
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:
dirct_1
dirct_2
dirct_3
...
in the current directory. I did:
if
then
echo " directories exist "
else
echo " directories not exist "
fi (3 Replies)
Discussion started by: cristalp
3 Replies
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
2 Replies
10. Shell Programming and Scripting
Hi All,
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:
videos
|---movie 1
|---movie 2
|---movie 3
|
USBDISK
|---videos
|--- movie... (8 Replies)
Discussion started by: kvb
8 Replies