You're viewing a single thread.
sudo rm /heart/arteries/**/clot
98 0 ReplyVery important to not hit enter before clot.
86 0 ReplyThat's why you have backups.
35 0 ReplyOr btrfs snapshots.
1 0 Reply
Isn’t it
/dev/heart
?23 0 ReplyI feel like if your body follows the Unix filesystem structure, you have a real problem.
21 0 Reply
Please forgive my ignorance. What does ** do?
19 0 ReplyActs as a wildcard for any directories that exist between arteries and clot.
23 0 ReplyBut only in Bash and if settings match. It's only reliable on your own shell, don't use it in scripts.
3 0 Reply
It's a glob pattern (edit: tried to find a source that actually showed
**
in use).8 0 ReplyHad to look this up as well. Its not rm specific:
* is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names. ** is a recursive wildcard that can only be used with paths, not file names.
6 0 Reply