Re: get rid of files and directories with spaces in them

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim:
>> See what you get with ls rather than rm, first, if you're using
>> wildcards.  You don't want to delete more than you expect to.

Kevin J. Cummings:
> Isn't that what the -i/--interactive option is for?  It lets you say
> y/n to each removal.  I believe its set through an alias for root by
> default, but not for normal users.

I don't know what the original poster's environment is, but it's a dicey
thing to do wildcard deletions, hoping that something else will save you
from yourself.

-- 
[tim@bigblack ~]$ uname -ipr
2.6.21-1.3228.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux