You know someone's not having a good day when they're on stack exchange asking "How do I recover from an incorrect mv command.' :D

@timttmy If you pass the files to /dev/null it resorts them in the file structure.

@nybill but only if you 'cat /dev/zero/ > $file' afterwards? Right? (⊙_☉)

@timttmy Yep, It'll all be sorted with all permissions back in place!

(In case anyone is reading along, we are joking here. And don't rm -rf anything!)

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko