Re: not enough permissions to empty trash

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

 



--- Rahul Sundaram <sundaram@xxxxxxxxxx> wrote:
> Hi
> 
> >...
> >
> >[root@localhost .Trash]# rm * -rf
> >bash: /bin/rm: Argument list too long
> >[root@localhost .Trash]#
> >
> >ouch, heh.
> >
> >  
> >
>
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Argument-list-too-long
> 
> regards
> Rahul
> 

Try switching to root, go to the .Trash folder and use

#: rm -rdf *

because remember that the "r" is for recursive action,
the "d" for folder(s), and "f" tells shell to continue
none-interactively. So, you'll probably need to use
"d" so that the all files and folders will be deleted
successfully. 

I believe this should work.
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
> 


		
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


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

  Powered by Linux