FAQ
Login
GNU social JPは日本のGNU socialサーバーです。
Usage
/
ToS
/
admin
/
test
/
Pleroma FE
Public
Public
Network
Groups
Featured
Popular
People
Embed Notice
HTML Code
<blockquote style="position: relative; padding-left: 55px;"><section><a href="https://social.jvns.ca/users/b0rk/statuses/113466151753698550">Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 12-Nov-2024 05:38:52 JST</a><a href="https://social.jvns.ca/@b0rk" title="b0rk@social.jvns.ca"><img src="https://gnusocial.jp/avatar/88850-48-20230116234922.webp" width="48" height="48" alt="Julia Evans" style="position: absolute; left: 0; top: 0;">Julia Evans</a></section><article><p>folder gotchas </p><p><a href="https://wizardzines.com/comics/folder-gotchas/" rel="nofollow noreferrer">https://wizardzines.com/comics/folder-gotchas/</a></p></article><footer><a rel="bookmark" href="https://gnusocial.jp/conversation/3981410#notice-7778607">In conversation</a><time datetime="2024-11-12T05:38:52+09:00" title="Tuesday, 12-Nov-2024 05:38:52 JST">about 10 days ago</time> <span>from <span><a href="https://social.jvns.ca/@b0rk/113466151753698550" rel="external" title="Sent from social.jvns.ca via ActivityPub">social.jvns.ca</a></span></span><a href="https://social.jvns.ca/@b0rk/113466151753698550">permalink</a><h4>Attachments</h4><ol><li><label><a rel="external" href="https://gnusocial.jp/attachment/3465243">panel 1: ls .. and cd .. refer to different folders if you `cd` to a symlinked folder~/Dropbox -> ~/Library/CloudStorage/Dropbox``` cd ~ cd Dropbox ls .. cd .. ```* ls .. lists ~/Library/CloudStorage * cd .. moves to ~this is because `ls` is a program and `cd` is run by the shell.The shell handles `..` differently from other programs.`ls ~/Dropbox` will list the contents of the folderthis is annoying if you just want to look at its permissions, or where it links toto fix this:ls -d ~/Dropboxpanel 2: deleting a folder and recreating it with the exact same name makes everything weirdeverything you do in the folder will fail with weird errors like:$ touch newfile touch: newfile: no such file or directoryhow to fix it:``` cd . ```panel 3: on Mac OS, these are not the same:cp -R a/ bcp -R a b* `cp -R a/ b` merges the contents of `a` into `b` * `cp -R a b` copies the whole folder into `b/a`panel 4: tip: `cd -` switches to the folder you were previously inpanel 5: notes on `mv file.txt dest~* if dest is a file: renames `file.txt` * if dest is a folder: moves `file.txt` to that folder</a></label><br><a href="https://cdn.masto.host/socialjvnsca/media_attachments/files/113/466/151/476/544/340/original/8778424dd2051991.png" rel="external">https://cdn.masto.host/socialjvnsca/media_attachments/files/113/466/151/476/544/340/original/8778424dd2051991.png</a></li><li><article><header><div>Domain not in remote thumbnail source whitelist: wizardzines.com</div><h5><a href="https://wizardzines.com/comics/folder-gotchas/">folder gotchas</a></h5><div></div></header><div></div><footer></footer></article></li></ol></footer></blockquote>
Corresponding Notice
Embed this notice
Julia Evans (b0rk@social.jvns.ca)'s status on Tuesday, 12-Nov-2024 05:38:52 JST
Julia Evans
folder gotchas
https://wizardzines.com/comics/folder-gotchas/