{"id":20330,"date":"2015-11-12T11:32:11","date_gmt":"2015-11-12T04:32:11","guid":{"rendered":"https:\/\/kitty.in.th\/?p=20330"},"modified":"2016-02-19T16:28:40","modified_gmt":"2016-02-19T09:28:40","slug":"sort-file-alphabetically-in-samba","status":"publish","type":"post","link":"https:\/\/kitty.in.th\/index.php\/2015\/11\/12\/sort-file-alphabetically-in-samba\/","title":{"rendered":"Sort file alphabetically in Samba"},"content":{"rendered":"<p>It looks like samba sending a list of file names in random order. Of course, you could make it sort alphabetically and make your life easier.<\/p>\n<p>For Debian\/Ubuntu<\/p>\n<pre># apt-get install\u00a0samba-vfs-modules<\/pre>\n<p>then edit \/etc\/samba\/smb.conf<\/p>\n<pre>[global]\r\nvfs objects = dirsort<\/pre>\n<p>Restart your samba, and tada !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It looks like samba sending a list of file names in random order. Of course, you could make it sort alphabetically and make your life easier. For Debian\/Ubuntu # apt-get install\u00a0samba-vfs-modules then edit \/etc\/samba\/smb.conf [global] vfs objects = dirsort Restart your samba, and tada !<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[5,127],"class_list":["post-20330","post","type-post","status-publish","format-standard","hentry","category-blog","tag-linux","tag-samba"],"_links":{"self":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/20330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/comments?post=20330"}],"version-history":[{"count":1,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/20330\/revisions"}],"predecessor-version":[{"id":20331,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/20330\/revisions\/20331"}],"wp:attachment":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/media?parent=20330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/categories?post=20330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/tags?post=20330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}