JPDev@programming.dev to Programmer Humor@programming.dev · 4 months agoAlways try sudoprogramming.devimagemessage-square59fedilinkarrow-up1880arrow-down157
arrow-up1823arrow-down1imageAlways try sudoprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 4 months agomessage-square59fedilink
minus-squareBleatingZombie@lemmy.worldlinkfedilinkarrow-up16·4 months agoPlease forgive my ignorance. What does ** do?
minus-squaregaylord_fartmaster@lemmy.worldlinkfedilinkarrow-up18·4 months agoActs as a wildcard for any directories that exist between arteries and clot.
minus-squareTechnus@lemmy.ziplinkfedilinkarrow-up7·edit-24 months agoIt’s a glob pattern (edit: tried to find a source that actually showed ** in use).
minus-squaremosiacmango@lemm.eelinkfedilinkarrow-up5·edit-24 months agoHad 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. More here.
sudo rm /heart/arteries/**/clot
Please forgive my ignorance. What does ** do?
Acts as a wildcard for any directories that exist between arteries and clot.
TIL!
It’s a glob pattern (edit: tried to find a source that actually showed
**
in use).Had to look this up as well. Its not rm specific:
More here.
deleted by creator