{"id":22744,"date":"2022-10-12T21:28:42","date_gmt":"2022-10-13T01:28:42","guid":{"rendered":"https:\/\/ckms.ca\/?p=22744"},"modified":"2023-08-09T21:13:08","modified_gmt":"2023-08-10T01:13:08","slug":"why-i-dislike-spaces-and-other-difficult-characters-in-filenames","status":"publish","type":"post","link":"https:\/\/blog.ckms.ca\/?p=22744","title":{"rendered":"Why I dislike spaces and other difficult characters in filenames"},"content":{"rendered":"\n<p>when I c\/p a long pathname by triple-clickt-rclick-copy select where i want it, paste; tripple click stops on whitespace, which a space is<\/p>\n\n\n\n<p>when iona command line, tab completion stops on a whatedpasce. whitespace<\/p>\n\n\n\n<p>thuinderbiord, a long time ago, had a bug where a filename attached that had a space (and others)? would not actually be attached on sending.<\/p>\n\n\n\n<p>bacth file and command line: have to use &#8221; or &#8216; to enclose odd chars.<\/p>\n\n\n\n<p>odd chars can be like &amp; and + and the various slashes , but that&#8217;s another fucking thing to deal with<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>n example of the apostrophe in a filename: the original file would have a &#8216; in the contraction &#8220;youre&#8221;, but likely was excluded due to being a special character in many filesystems (for quoting to command line stuff (like a filespec with spaces in it).  And is also easily confused with the backquote, another problematic beast seen in the *nix-like world.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"280\" src=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-1024x280.jpg\" alt=\"\" data-id=\"28900\" data-full-url=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1.jpg\" data-link=\"https:\/\/blog.ckms.ca\/?attachment_id=28900\" class=\"wp-image-28900\" srcset=\"https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-1024x280.jpg 1024w, https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-300x82.jpg 300w, https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-768x210.jpg 768w, https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-750x205.jpg 750w, https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-1226x335.jpg 1226w, https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1-675x184.jpg 675w, https:\/\/blog.ckms.ca\/wp-content\/uploads\/2023\/08\/example-of-filename-characters-i-dislike-2023-08-09-20-58-34-1.jpg 1505w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>when I c\/p a long pathname by triple-clickt-rclick-copy select where i want&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[282],"tags":[919,1135],"class_list":["post-22744","post","type-post","status-publish","format-standard","hentry","category-article","tag-mine","tag-my-recommendation","wpcat-282-id"],"_links":{"self":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/22744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22744"}],"version-history":[{"count":4,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/22744\/revisions"}],"predecessor-version":[{"id":28904,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=\/wp\/v2\/posts\/22744\/revisions\/28904"}],"wp:attachment":[{"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ckms.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}