{"id":2127,"date":"2022-12-14T14:10:30","date_gmt":"2022-12-14T13:10:30","guid":{"rendered":"https:\/\/desairem.com\/wordpress\/?p=2127"},"modified":"2025-10-03T23:28:15","modified_gmt":"2025-10-03T22:28:15","slug":"synctime-how-can-i-only-sync-files-with-a-given-extension","status":"publish","type":"post","link":"https:\/\/desairem.com\/wordpress\/synctime-how-can-i-only-sync-files-with-a-given-extension\/","title":{"rendered":"How can I only sync files with a given extension?"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>Add a new sync item by clicking the + button in the toolbar at the top of the window.<\/li>\n\n\n\n<li>In the General tab, type a title that describes the sync item. Then click on the first question mark icon to select a source directory (in the image below, <code>Downloads<\/code>), and on the second question mark icon to select a destination (in the image below, <code>Documents\/texte<\/code>).\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"1118\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/10\/synctime-sync-txt-files-general2.png\" alt=\"\" class=\"wp-image-5264\" style=\"width:662px\"\/><\/figure>\n<\/li>\n\n\n\n<li>In the Filters tab, double-click the <em>All files<\/em> filter to show its settings. Change its Mode to Exclude. Click OK.<br><br>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"1118\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/10\/synctime-sync-txt-files-filter-table.png\" alt=\"\" class=\"wp-image-5265\" style=\"width:662px\"\/><\/figure>\n<\/li>\n\n\n\n<li>Click on the + button below the filter list and select <em>Filename<\/em> in the popup menu.<\/li>\n\n\n\n<li>Set Mode to Include, Operation to Contains, and Value to the desired extension (in the image below, &#8220;.txt&#8221;). Click OK.<br><br>\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"1118\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/10\/synctime-sync-txt-files-filter-detail.png\" alt=\"\" class=\"wp-image-5266\" style=\"width:662px\"\/><\/figure>\n<\/li>\n\n\n\n<li>(Optional) If you want to ignore some of the .txt files (in the image below, all files with names containing the word &#8220;old&#8221;), add one or more exclusive filters <em>above<\/em> the inclusive one. After adding a filter, you can move it via drag and drop.<br><br>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"1118\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/10\/synctime-sync-txt-files-filter-table-with-excluded-filename.png\" alt=\"\" class=\"wp-image-5267\" style=\"width:662px\"\/><\/figure>\n<\/li>\n\n\n\n<li>(Optional) If you only want to sync .txt files within certain directories, click the + button and select <em>File or directory<\/em>, confirm the desired directory, then double-click the newly added filter and set its Mode to Exclude. Repeat this for each of the desired directories (in the image below, <code>Downloads\/murphy's law<\/code> and <code>Downloads\/public domain<\/code>). Drag the &#8220;.txt&#8221; filter into one of the added directory filters, then copy the &#8220;.txt&#8221; filter by selecting it and pressing <code>Command-C<\/code>, and paste it into every other folder filter by selecting the folder filter and pressing <code>Command-V<\/code>.<br><br>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"1118\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/10\/synctime-sync-txt-files-filter-table-with-excluded-folders.png\" alt=\"\" class=\"wp-image-5268\" style=\"width:662px\"\/><\/figure>\n<\/li>\n\n\n\n<li>Complete the sync item creation by clicking Add.<\/li>\n\n\n\n<li>Run the sync item by clicking the Play button on the left of the sync item title.<br><br>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1740\" height=\"529\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/10\/synctime-sync-txt-files-main-window.png\" alt=\"\" class=\"wp-image-5269\" style=\"width:870px\"\/><\/figure>\n<\/li>\n<\/ol>\n\n\n\n<p>To learn more about filters, see <a href=\"https:\/\/desairem.com\/wordpress\/synctime-filter-files\/\" data-type=\"post\" data-id=\"15\">Filters<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To learn more about filters, see Filters.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"wp-custom-template-sync-time-help-post","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2127","post","type-post","status-publish","format-standard","hentry","category-synctime-help"],"_links":{"self":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/2127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2127"}],"version-history":[{"count":34,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/2127\/revisions"}],"predecessor-version":[{"id":5271,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/2127\/revisions\/5271"}],"wp:attachment":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}