{"id":708,"date":"2020-10-27T22:41:01","date_gmt":"2020-10-27T22:41:01","guid":{"rendered":"http:\/\/labiol.xyz\/?p=708"},"modified":"2020-10-30T10:54:09","modified_gmt":"2020-10-30T10:54:09","slug":"scp-files-with-spaces","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2020\/10\/27\/scp-files-with-spaces\/","title":{"rendered":"scp files with spaces (chromeos)"},"content":{"rendered":"\n<p>This time extremely short article but may save your time.<\/p>\n\n\n\n<p>From some amount of time I was starting to use chromebook laptop. I am not a windows laptop (pc laptop) entusiastic. For that reason I was looking for an alternative that would be easy to use and not ruin me.<\/p>\n\n\n\n<p>Anyway, chromeos has linux terminal (linux in conteners). It is not perfect, but it is and it is nice to have. And to be honest, without this functionality, I would never bought this laptop.<\/p>\n\n\n\n<p>So, backing to my point, on chromeos scp has problem with spaces in the file name. It simply doesn&#8217;t copy file and end up with error. To copy it correctly you can use the following syntax:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp labiol@host1:\"folder\/file\\ with\\ space.txt\" .<\/code><\/pre>\n\n\n\n<p>Hope it could help someone.<\/p>\n\n\n\n<p>Have a nice chroming \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This time extremely short article but may save your time. From some amount of time I was starting to use chromebook laptop. I am not a windows laptop (pc laptop) entusiastic. For that reason I was looking for an alternative that would be easy to use and not ruin me. &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[24,8],"class_list":["post-708","post","type-post","status-publish","format-standard","hentry","category-linux","tag-chromeos","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=708"}],"version-history":[{"count":4,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/708\/revisions"}],"predecessor-version":[{"id":712,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/708\/revisions\/712"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}