Re: I need a second pair of eyes on this rm command

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

 



On 8/1/19 12:29 PM, Eyal Lebedinsky wrote:
> On 01/08/2019 14.18, ToddAndMargo via users wrote:
>> Hi All,
>>
>> I can delete these directories from any GIU file manager, but
>> not from the command line.
>>
>> I think I am making a typo here, but I am not seeing it.  Would
>> you guys mind being a second pair of eyes for me?
>>
>> $ rm -rf '/home/todd/.config/BraveSoftware/Brave-Browser/Default/Service
>> Worker/CacheStorage/*'
> A '*' wildcard inside quotes is not expanded. Use
>     '/home/todd/.config/BraveSoftware/Brave-Browser/Default/Service Worker/CacheStorage/'*
> The '-f' made the expected error not show:
>
> $ mkdir zzzz
> $ rm -rf 'zzzz/*'
> $ rm -r  'zzzz/*'
> rm: cannot remove 'zzzz/*': No such file or directory
>

And the (my) alternative is to use tab-completion to get the space escaped resulting in...

[egreshko@f30-k ~]$ ll .config/BraveSoftware/Brave-Browser/Default/Service\
Worker/CacheStorage/
total 4
drwx------. 2 egreshko egreshko 4096 Aug  1 12:48 3a6faf96138604257eb4b8adcb261bd5e4ab0f95

[egreshko@f30-k ~]$ rm -rf .config/BraveSoftware/Brave-Browser/Default/Service\
Worker/CacheStorage/*

[egreshko@f30-k ~]$ ll .config/BraveSoftware/Brave-Browser/Default/Service\
Worker/CacheStorage/
total 0


-- 
Right: I dislike the default color scheme Wrong: What idiot picked the default color scheme
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux