Hi ,
I am trying to use the find command with delete in a directory . Even though i use a wil character search the find command is checking the hidden files which inturn results in error .
Can i avoid look that into the hidden files ?? I am using HP unix .
find /cv1/ -name "ite*"... (3 Replies)
Hi,
I have a filename Location.txt in a directory /abc.
Similar name file is present in its subdirectory /abc/xyz.
I want to find the file which is present only in /abc and not in /abc/xyz.
Please any1 of u can provide a quick suggestion.
Its very urgent.
Thanks,
Amol (2 Replies)
How do I exclude directories with the find command on Solaris?
I want to skip the directories /proc and /shared.
find / -nouser -print
This shows me all files and directories that don't have an owner but I need to skip /shared and /proc.
I've been able to get it to work on Linux... (3 Replies)
Hi guys,
I want to copy folder and sub folders only. I don't want the files. If i use cp -r command it will copy entirely with files.
Could any one suggest me.
Thanks in advance (1 Reply)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Hi
I'm logged in to an AIX box now and we need to do an audit on this box.
cbssapr01:# pwd
/
Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
my directory structure is like below:
basedir\
p.txt
q.htm
r.java
b\
abc.htm
xyz.java
c\
p.htm
q.java
rst.txt
my requirement is i want to copy all the files and directories... (0 Replies)
I've looked at a few similar threads, but I can't bridge from those examples to what I'm working on, so I'm hoping someone can help.
I want to extend the following statement
find $PathToCheck -type f \( -not -iwholename "$ScriptDir/*" \) -exec md5sum "{}" \;>$NewSigs
to exclude several... (9 Replies)
Hi Forum,
I am using the below command to find files older than x days in a directory excluding subdirectories. From the previous forums I got to know that prune command helps us not to descend in subdirectories. Though I am using it here, not getting the desired result.
cd $dir... (8 Replies)
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
LEARN ABOUT DEBIAN
svn-clean
SVN-CLEAN(1) User Commands SVN-CLEAN(1)NAME
svn-clean - Wipes out unversioned files from Subversion working copy
SYNOPSIS
svn-clean [options] [directory or file ...]
DESCRIPTION
svn-clean will scan the given files and directories recursively and find unversioned files and directories (files and directories that are
not present in the Subversion repository). After the scan is done, these files and directories will be deleted. Files which match patterns
in the svn-clean:ignore dir property will be spared, much as the svn:ignore property works for svn status.
If no file or directory is given, svn-clean defaults to the current directory (".").
svn-clean uses the SVN Perl modules if they are available. This is much faster than parsing the output of the svn command-line client.
OPTIONS -e, --exclude
A regular expression for filenames to be exluded. For example, the following command will skip files ending in ".zip":
svn-clean --exclude '.zip$'
Multiple exclude patterns can be specified. If at least one matches, then the file is skipped. For example, the following command
will skip files ending in ".jpg" or ".png":
svn-clean --exclude '.jpg$' --exclude '.png$'
The following command will skip the entire "build" subdirectory:
svn-clean --exclude '^build(/|$)'
-f, --force
Files to which you do not have delete access (if running under VMS) or write access (if running under another OS) will not be
deleted unless you use this option.
-N, --non-recursive
Do not search recursively for unversioned files and directories. Unversioned directories will still be deleted along with all their
contents.
-q, --quiet
Do not print progress info. In particular, do not print a message each time a file is examined, giving the name of the file, and
indicating whether "rmdir" or "unlink" is used to remove it, or that it's skipped.
-p, --print
Do not delete anything. Instead, print the name of every file and directory that would have been deleted.
-?, -h, --help
Prints a brief help message and exits.
--man Prints the manual page and exits.
AUTHOR
Simon Perreault <nomis80@nomis80.org>
2014-03-12 SVN-CLEAN(1)