Search Results

Search: Posts Made By: phil1t
4,246
Posted By phil1t
It will not remove the current directory so you...
It will not remove the current directory so you can do the following;
find . -name '*Copy*' -prune -o -exec rm -r {} \; 2>/dev/null

Example;
# ls -lia
total 40
129053 drwxr-xr-x 5 root ...
31,359
Posted By phil1t
:confused: I put it in my .profile if it is just...
:confused: I put it in my .profile if it is just for myself, and /etc/profile if it is for all users.
4,246
Posted By phil1t
:D find . -name "*Copy*" -prune -o -print -exec...
:D find . -name "*Copy*" -prune -o -print -exec rm {} \;
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy