10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been running a program mseed2sac using the following command
cd IV
find . -type f -exec /swadmin/mseed2sac '{}' \;
The problem is that I end up with a lot of files in directory IV.
Instead I would like to select the designator HHZ, create a
directory IV.SAC and all the files output... (11 Replies)
Discussion started by: kristinu
11 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Using grep command, i want to find the pattern of text in all directories and sub-directories.
e.g: if i want to search for a pattern named "parmeter", i used the command
grep -i "param" ../*
is this correct? (1 Reply)
Discussion started by: vinothrajan55
1 Replies
3. Shell Programming and Scripting
Hi, I have about 10 directories in which I run the same code. But this code is only run in a directory when the computation in the previous directory was successful (explained below).
My directories are named as :
VF_50, VF_100, VF_150, VF_200.............
As you can see the number after _... (6 Replies)
Discussion started by: lost.identity
6 Replies
4. Shell Programming and Scripting
Hello
Im trying to make a script in bash shell programming to find subdirectories with the same name into the same directory and rename one of them!!
Could you please help me?
Thanks in advance (1 Reply)
Discussion started by: BTKBaaMMM
1 Replies
5. Shell Programming and Scripting
Hi All,
I am Oracle Apps Tech guy, I have a requirement to find 777 permission is there or not for all Folders and Sub-folders
Under APPL_TOP (Folder/directory) with below conditions
i) the directory names should start with xx..... (like xxau,xxcfi,xxcca...etc)
and exclude the directory... (11 Replies)
Discussion started by: gagan4599
11 Replies
6. Shell Programming and Scripting
I'm having problems figuring out the process to find directories that DO NOT contain a certain file. I have a mp3 collection that all the album art is name "folder.jpg". Not all the albums have images. I need a way to find the albums/directories that do not contain "folder.jpg". I can find the... (2 Replies)
Discussion started by: subsonic
2 Replies
7. Shell Programming and Scripting
I am looking a script which will find garbase directories (10 char. long)..which need to delete empty dir excluding symlink and system directories.
I tried this partial script but it just find directories create a file which contains link directories..can somebody help me to complete this... (4 Replies)
Discussion started by: ddk2oo5
4 Replies
8. Shell Programming and Scripting
hi,
I have a peculiar problem
I am working in bash shell
There is one particular directory in my unix box
For the scripts present in that directory, if i put sh <script name>
it is working fine
if i put ksh <script name> the corresponding script is not even executing
but apart from that... (3 Replies)
Discussion started by: trichyselva
3 Replies
9. Shell Programming and Scripting
Hello,
I have a line in my script to find the files changed in the last 24 hours. It is as below:
find /home/hary -type f -mtime -1
I now want to exclude a directory named "/home/hary/temp/cache" from the above find command. How do I add it to my script?
Any help is appreciated.
... (9 Replies)
Discussion started by: tadi18
9 Replies
10. Shell Programming and Scripting
Hello,
We have in a file a list of the path of files from one server.
We want to search if these files exist on another server , but the path on this new server isn't the same.
We want to use the command "awk" but there isn't the god way.
Example:
on server 1 in a file : listServer1.txt... (4 Replies)
Discussion started by: steiner
4 Replies