The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
delete all but one files in a directory
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
delete all but one files in a directory
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-21-2008
penchal_boddu
Registered User
Join Date: Apr 2008
Location: Bangalore
Posts: 127
Hi,
I think find command will search recursively throeugh all the directories.
either maxdepth or prune option must be used.
Please correct me if iam wrong.
Thanks
Penchal
penchal_boddu
View Public Profile
Find all posts by penchal_boddu
Find penchal_boddu's past nominations received
Find penchal_boddu's present nominations given