Results 1 to 3 of 3
i'm trying to remove a file that's in a lot of directories/sub-directories. It's created from visual sourcesafe. I've tried "rm -r vssver.scc" and I get "rm: cannont remove `vssver.scc`: No ...
- 12-28-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 15
recursive remove help please
i'm trying to remove a file that's in a lot of directories/sub-directories. It's created from visual sourcesafe. I've tried "rm -r vssver.scc" and I get "rm: cannont remove `vssver.scc`: No such file or directory".
I've also tried "rm `find . vssver.scc`", but I get:
find: vssver.scc: No such file or directory
bash: /bin/rm: Argument list too long
Can some please tell he how I can do a recursive remove?
Thanks
- 12-28-2005 #2Just Joined!
- Join Date
- Nov 2005
- Location
- Midwest: USA
- Posts
- 32
If I am not mistaken unless given a path "find" will only search a given directory you are in. I would say that you open a terminal as root and do the following
which will update the file database and then do the followingCode:updatedb
which will search through the file database and look for all references to vssver.scc. This will give you a list of all locations that the file is in. If it is large, re-run the locate and pipe it into more or less.Code:locate vssver.scc
- 12-28-2005 #3Just Joined!
- Join Date
- Nov 2005
- Posts
- 15
that didn't work but thanks...
i found out that i was using find incorrectly.
Thanks for your help though


Reply With Quote
