10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
2. UNIX for Dummies Questions & Answers
Hi
Need help for the following scenario.
I am having two directories /tmp/a and /tmp/b. /tmp/a again has subdirectories /tmp/a/aa and /tmp/a/ab.
I want to run a script from /tmp/b to search for a file user.lst in the folders /tmp/a/aa and /tmp/a/ab, if available, i want to make a file in... (3 Replies)
Discussion started by: sudeep.id
3 Replies
3. Shell Programming and Scripting
Hi Firends,
Good Morning to all,
I want a find command to search a paticular file present in my system(ie search through under all users and all directories.)
I am looking forward from you.:)
Advance Thanks,
Siva Ranganath CH (3 Replies)
Discussion started by: sivaranga001
3 Replies
4. 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
5. Shell Programming and Scripting
for x in `find /vmfs/volumes/v01tstn01a01/ -type d`; do find $x -name '*.vmx' > /dev/null || echo $x; done;
The goal of this is to find the subdirectories that do NOT contain a file with the extension of .vmx
Any help would be great! (6 Replies)
Discussion started by: hodnov
6 Replies
6. Shell Programming and Scripting
Hi All,
My UNIX Version is:
OS Name Release Version
AIX appma538 3 5
I want to find certain files with some criterias under the given path. At the same time i want to find the files which resides under the given directory, but normal find traverse to its sub-directories... (4 Replies)
Discussion started by: Arunprasad
4 Replies
7. Shell Programming and Scripting
################################################################
Copy this script to your path from where you want to search for all the files and directories in subdirectories recursively.
#################################################################
code starts here... (2 Replies)
Discussion started by: Ramit_Gupta
2 Replies
8. Shell Programming and Scripting
I wonder if the script below is possible to write somehow more efficiently. It seems to me the problem is very common..
CreateFolders() # parameter: name of file with relative path with regard to directory $project_root
{
echo $1 | awk '{ n=split($1, array, "/");
... (2 Replies)
Discussion started by: MartyIX
2 Replies
9. Shell Programming and Scripting
Hi all,
Is there any way to find the the path of a file?
I mean executable files and just anyother file we can think of?
i know of one cmd called which
$which mount
/usr/bin/mount
this is fine, but "mount" is a cmd not a file that can be searched
eg: say i have created a text file... (3 Replies)
Discussion started by: wrapster
3 Replies
10. Programming
Hi,
what is the command in unix to find a file abc.c in a directory which had n number of sub-directories.
thanx (3 Replies)
Discussion started by: jazz
3 Replies