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