What is Nostr?
Simon Tatham /
npub1r80…9e8g
2024-06-10 10:34:08

Simon Tatham on Nostr: 'mkdir -p' lets you make a deeply nested subdirectory like a/b/c/d, making all the ...

'mkdir -p' lets you make a deeply nested subdirectory like a/b/c/d, making all the intermediate directories on the way to it. So if even 'a' doesn't exist, it'll make that, then a/b, etc.

But you can also get it to make multiple _non_-nested directories, because it accepts '..' in the path and doesn't treat it specially:

$ mkdir -p alpha/../beta/../gamma
$ ls
alpha beta gamma
$
Author Public Key
npub1r80xhdf7fpspq6m6jtjhl0kpemmyy9jv86lqcaht32eccfe8vuhsg89e8g