Lee Duna@lemmy.nz to Technology@lemmy.worldEnglish · 2 months agoMicrosoft BitLocker-protected drives can now be opened with just some files on a USB stick — YellowKey zero-day exploit demonstrates an apparent backdoorwww.tomshardware.comexternal-linkmessage-square138linkfedilinkarrow-up1558arrow-down12file-textcross-posted to: hackernews@lemmy.bestiver.se
arrow-up1556arrow-down1external-linkMicrosoft BitLocker-protected drives can now be opened with just some files on a USB stick — YellowKey zero-day exploit demonstrates an apparent backdoorwww.tomshardware.comLee Duna@lemmy.nz to Technology@lemmy.worldEnglish · 2 months agomessage-square138linkfedilinkfile-textcross-posted to: hackernews@lemmy.bestiver.se
minus-squareAlberat@lemmy.worldlinkfedilinkEnglisharrow-up5·2 months agoi just deleted a month of notes by doing: find $(pwd) “*.tmp” -delete instead of: find $(pwd) -iname “*.tmp” -delete turns out the former throws an error on “*.tmp” but still deletes everything lol… PSA for everyone
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 months agowhy $(pwd) instead of just . ?
minus-squareAlberat@lemmy.worldlinkfedilinkEnglisharrow-up1·2 months agoi changed it so that ppl on lemmy who may not be familiar with the syntax of find could read it easier? maybe it made it more confusing
minus-squareMatriks404@lemmy.worldlinkfedilinkEnglisharrow-up1·2 months agoI think it’s your fault if you don’t have backups… but I legitimately think that we should restrict usage of classic Unix tools to scripts, and use safer tools ourselves… but I guess that’s just my opinion.
i just deleted a month of notes by doing:
find $(pwd) “*.tmp” -delete
instead of:
find $(pwd) -iname “*.tmp” -delete
turns out the former throws an error on “*.tmp” but still deletes everything lol… PSA for everyone
why $(pwd) instead of just
.?i changed it so that ppl on lemmy who may not be familiar with the syntax of find could read it easier? maybe it made it more confusing
I think it’s your fault if you don’t have backups… but I legitimately think that we should restrict usage of classic Unix tools to scripts, and use safer tools ourselves… but I guess that’s just my opinion.