OrangePumkin@piefed.nl to techsupport@lemmy.worldEnglish · 26 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-up18arrow-down18 cross-posted to: [email protected]
arrow-up10arrow-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 · 26 days agomessage-square16linkfedilink cross-posted to: [email protected]
minus-squaredeadbeef79000@lemmy.nzlinkfedilinkarrow-up2·26 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*
Didn’t work.
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*