02-22-2005
Nope, not luck with that
. I get a different error though. It now says:
find: missing conjunction
Thanks for the suggestion, any other ideas? Anybody?
Cheers
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Have the following snippet of code that I'm having trouble trying to work ...
The snippet of code is running on our Production Server and the intent is to copy the second most recent IDE file across from the Development Server.
I have the following files defined in $DEVLOC ...... (4 Replies)
Discussion started by: Cameron
4 Replies
2. Shell Programming and Scripting
Hi,
Iam having a strange problem, wandering if soneone can throw some lights.
I have statement
find . -maxdepth 1 -name 'File1*.tsv' -mtime +1 -print
I expect the above statement to print the files older than 1 day or 24 hrs,
however it doesn't work that way. When issue above command,... (2 Replies)
Discussion started by: braindrain
2 Replies
3. UNIX for Dummies Questions & Answers
When I am doing the first command the result shows all the files, links, directories except the ones that contain the word logs
find . -type f -o -type l -o -type d | grep -v logs
But when I am trying to do this even the logs are getting tarred
tar -cvf fdtvision.tar `find . -type f -o -type l... (2 Replies)
Discussion started by: venu_nbk
2 Replies
4. UNIX for Dummies Questions & Answers
I am using HP-UNIX , The below command doesnt display anything although i have changed a file in the directory by
toutch -t 200010101800 nfile
find /tmp/transfer/ -name "*.*" -mtime +1
Any problrm with the find command i written . .Please help ??..
Thanks,
Arun (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
5. Shell Programming and Scripting
Hi All,
I am using following find command to delete the records older than 7 days but getting missing conjuction error.Kindly suggest:
The command is:
find <complete_dir_path> \(! -name usr -prune \) -type f -name "*.txt" -mtime +6 -print | xargs rm (11 Replies)
Discussion started by: visingha
11 Replies
6. Shell Programming and Scripting
I'm trying to display the full file name (including the full path) and file size of all files whose name (excluding the path) is longer than 10 characters.
I came up with find path -type f -name ".{10, }" -printf "%s %p\n", but I'm getting a "find: path: No such file or directory". What's wrong... (2 Replies)
Discussion started by: raidkridley
2 Replies
7. Shell Programming and Scripting
for index in `find /root -name *.jar | grep "/lib"`; do echo "$index"; done
sometimes its throwing error saying
find: paths must precede expression
Usage: find
some1 suggested me that :
Code:
for index in `find /technologies -name '*.jar' | grep "/lib"`
do
echo "$index"... (2 Replies)
Discussion started by: crackthehit007
2 Replies
8. Shell Programming and Scripting
Hi
I want to find files with size +10000M and specified directorys except
when i use more than one `-name` acton is fail
I try -a (and) and -o (-or) but results fail :(
find . \( -name ./oracle* -prune -o -name "*arc*" -prune -o -name "*oracle*" -prune -o -size +10000k \) -exec ls -lh {}... (7 Replies)
Discussion started by: ygemici
7 Replies
9. Shell Programming and Scripting
Hello Guys ,
I am trying to run below find command in one of my SH script on a HP UX machine.
find /tmp -type f -name "MGCA*.log" -prune -exec rm -f {} \; 2>&1
I want this to check my tmp directory and delete MGCA log files .But below error message is printed on Promt :-
find: cannot... (2 Replies)
Discussion started by: himanshu sood
2 Replies
10. Shell Programming and Scripting
Hello,
I have trouble using the find command (I am working on Mac OSX).
for i in *.pdf
do
if find . -name "EV"
then
mv "$i" E-test.pdf
elif find . -name "GV"
then
mv "$i" G-test.pdf
else
mv "$i" test.pdf
fi
done
As to the use of "$i": unfortunately, the filenames... (14 Replies)
Discussion started by: tempestas
14 Replies
LEARN ABOUT PLAN9
dh_missing
DH_MISSING(1) Debhelper DH_MISSING(1)
NAME
dh_missing - check for missing files
SYNOPSIS
dh_missing [-Xitem] [--sourcedir=dir] [debhelperoptions]
DESCRIPTION
dh_missing compares the list of installed files with the files in the source directory. If any of the files (and symlinks) in the source
directory were not installed to somewhere, it will warn on stderr about that (--list-missing) or fail (--fail-missing). Please note that
without either of these options, dh_missing will silently do nothing.
This may be useful if you have a large package and want to make sure that you don't miss installing newly added files in new upstream
releases.
Remember to test different kinds of builds (dpkg-buildpackage -A/-B/...) as you may experience varying results when only a subset of the
packages are built.
FILES
debian/not-installed
List the files that are deliberately not installed in any binary package. Paths listed in this file are ignored by dh_missing.
However, it is not a method to exclude files from being installed by any of the debhelper tool. If you want a tool to not install a
given file, please use its --exclude option (where available).
dh_missing will expand wildcards in this file (since debhelper 11.1). Wildcards without matches will be ignored.
OPTIONS
--list-missing
Warn on stderr about source files not installed to somewhere.
Note that files that are excluded from being moved via the -X option are not warned about.
This is the default in compat 12 and later.
--fail-missing
This option is like --list-missing, except if a file was missed, it will not only list the missing files, but also fail with a nonzero
exit code.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Michael Stapelberg <stapelberg@debian.org>
11.1.6ubuntu2 2018-05-10 DH_MISSING(1)