OrangePumkin@piefed.nl to techsupport@lemmy.worldEnglish · 14 days agoI am trying to get rid of this folder, but the result is saying that fish expects a variable name after this $. What does it mean ? And how do i get rid of this folder ?objectstorage.eu-amsterdam-1.oraclecloud.comimagemessage-square16linkfedilinkarrow-up17arrow-down18 cross-posted to: explainlikeimfive@lemmy.world
arrow-up1-1arrow-down1imageI am trying to get rid of this folder, but the result is saying that fish expects a variable name after this $. What does it mean ? And how do i get rid of this folder ?objectstorage.eu-amsterdam-1.oraclecloud.comOrangePumkin@piefed.nl to techsupport@lemmy.worldEnglish · 14 days agomessage-square16linkfedilink cross-posted to: explainlikeimfive@lemmy.world
minus-squaredeadbeef79000@lemmy.nzlinkfedilinkarrow-up2·14 days agoI’m unfamiliar with fish but that $'\003' also looks a lot like how bash escapes unprintable control characters (ASCII 3 is ‘end of text’ apparently). You probably have sh or bash available. Try the same command in that. sh -c "rm -rf 'folder'$'\003'" Or just delete all directories that start with folder with confirmation (no -f): rm -r folder*
I’m unfamiliar with fish but that
$'\003'also looks a lot like how bash escapes unprintable control characters (ASCII 3 is ‘end of text’ apparently).You probably have sh or bash available. Try the same command in that.
sh -c "rm -rf 'folder'$'\003'"Or just delete all directories that start with folder with confirmation (no
-f):rm -r folder*