10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Please help me i have a file directory in .txt. inside this directory is a list of names of folders to find inside in a folder.
to make more easy to understand
below is my list inside .txt:
foldernameA
foldernameB
foldernameC
I need to check if those folder names are inside... (1 Reply)
Discussion started by: cmarzan
1 Replies
2. Shell Programming and Scripting
Hi,
I am working in solaris.I am using below script to copy the files from /usr/tmp to /usr/gm
But while running this it is not considering the files list after the filename having space in them.
Example:-
compile_custom_pll.sh
conv_data_sqlload.sh
conv_sqlload.sh
Copy of... (5 Replies)
Discussion started by: millan
5 Replies
3. Shell Programming and Scripting
Hi All
When we use find command command in Unix we get the result as
/home/user/folder/filename1
/home/user/folder/filename2
/home/user/folder/filename3
Is it possible that i only get the file name
The expected output when using find command is
filename1
filename2
filename3
I am... (13 Replies)
Discussion started by: parthmittal2007
13 Replies
4. Shell Programming and Scripting
I have a script that executes the following code and I could use some help.
find $searchdir -maxdepth 2 -type d -name $dir -exec mkalias {} ./$dir/_$dir$suffix \;
(mkalias is an executable to create mac aliases)
(The script takes a directory name finds that same name on another drive and... (5 Replies)
Discussion started by: scribling
5 Replies
5. Shell Programming and Scripting
Hi i would like to ask on how to accomplish the FF:
I want to execute a find command recursively and only get the filename something like i want only the last field set if is used ever the fieldvset as an redirection from the output of the find command
For example:
dir1/dir2/filename1... (2 Replies)
Discussion started by: jao_madn
2 Replies
6. Solaris
Hi pals,
I'm a little puzzled. I've got a script that makes a list of files this find.
find . -type f ! -name $list ! -name ${list}.20 ! -name ${list}.new ! -name '.*' ! -name '*.dc' ! -newer $list.20 -newer ${list}.new -exec ls -E {} \; | grep -v './.*/' > ${list}
This script is called by... (0 Replies)
Discussion started by: kl0x
0 Replies
7. Shell Programming and Scripting
I need to construct a command that finds directories which contains more than n matches of a certain filename.
E.g. I have many directories at different locations and want to find all directories that has 2 or more .dat-files.
I thought of using find and maybe the exec parameter to issue an... (5 Replies)
Discussion started by: odyssey
5 Replies
8. Shell Programming and Scripting
Hi ,
I have question for search the filename in directory.
For example my DIR contains these files...
testA123.txt
testB123.txt
testB345.txt
testA345.txt
i want to show the filenames which contains 'testA7'...
Help me (7 Replies)
Discussion started by: karthinvk
7 Replies
9. HP-UX
Hi,
Am new to HP UX , is there a way to find out the size of memory allocated to a pointer on hp ux?
For example we can use the _msize() on windows to find the size of memory allocated to a pointer .
#include <stdio.h>
#include <malloc.h>
void main()
{
void *buffer; ... (0 Replies)
Discussion started by: Wkdunreal
0 Replies
10. UNIX for Dummies Questions & Answers
:confused: There is a flat file on my system which contains email addreses of people in my company. This file is utilized when sending notifications for various things. However nobody knows where this file is located or what it is named. The only thing we know is the email address of a user who... (4 Replies)
Discussion started by: kollerj
4 Replies