{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Discover Docker, K8s and Hashicorp Nomad with Maksym Prokopov: posts tagged lifehack",
    "_rss_description": "The blog about containerisation, virtual machines and useful shell snippets and findings",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/blog.it-premium.com.ua\/tags\/lifehack\/",
    "feed_url": "https:\/\/blog.it-premium.com.ua\/tags\/lifehack\/json\/",
    "icon": false,
    "authors": [
        {
            "name": "Maksym Prokopov",
            "url": "https:\/\/blog.it-premium.com.ua\/",
            "avatar": false
        }
    ],
    "items": [
        {
            "id": "236",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/find-all-and-empty-log-files-oneliner\/",
            "title": "find all and empty log files oneliner",
            "content_html": "<pre class=\"e2-text-code\"><code class=\"\">find . -name *.log | xargs truncate -s0<\/code><\/pre>",
            "date_published": "2021-09-17T08:32:19+01:00",
            "date_modified": "2021-09-17T08:32:18+01:00",
            "tags": [
                "lifehack",
                "linux"
            ],
            "_date_published_rfc2822": "Fri, 17 Sep 2021 08:32:19 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "236",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "230",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/copy-files-having-search-string-to-the-target-folder\/",
            "title": "copy files having search string to the target folder",
            "content_html": "<p>let’s say you have <Active>true<\/Active> in the hundreds of files and you need to copy only those which contain this string, it is quite easy to do with Linux find utility<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">grep -l -ri -m1 &quot;Active&gt;true&quot; *\/*.xml | xargs -I {} cp {} target_folder<\/code><\/pre>",
            "date_published": "2020-11-17T17:06:45+01:00",
            "date_modified": "2020-11-17T17:06:42+01:00",
            "tags": [
                "lifehack",
                "linux"
            ],
            "_date_published_rfc2822": "Tue, 17 Nov 2020 17:06:45 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "230",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "114",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/rsync-cherez-ssh-2\/",
            "title": "rsync через ssh",
            "content_html": "<p>Не знали, как запустить rsync через нестандартный порт (при работе через SSH, без ответного Rsync демона на сервере)?<\/p>\n<p>Теперь знайте:<\/p>\n<p>rsync -avz -e “ssh -p 12345” .\/public_html\/ username@yourserver.com:\/var\/www\/html\/<br \/>\nЗдесь 12345 – номер порта, username – ваш логин и yourserver.com – доменное имя или IP вашего сервера.<\/p>\n<p>Пришлось немного повозиться с чтением манов и поэкспериментировать. Надеюсь, кому-то сэкономит время.<\/p>\n",
            "date_published": "2016-07-12T14:05:22+01:00",
            "date_modified": "2016-05-23T14:22:23+01:00",
            "tags": [
                "lifehack",
                "rsync"
            ],
            "_date_published_rfc2822": "Tue, 12 Jul 2016 14:05:22 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "114",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [],
                "og_images": []
            }
        },
        {
            "id": "115",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/rsync-cherez-ssh\/",
            "title": "rsync через ssh",
            "content_html": "<p>Не знали, как запустить rsync через нестандартный порт (при работе через SSH, без ответного Rsync демона на сервере)?<\/p>\n<p>Теперь знайте:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">rsync -avz -e &quot;ssh -p 12345&quot; .\/public_html\/ username@yourserver.com:\/var\/www\/html\/<\/code><\/pre><p>Здесь 12345 – номер порта, username – ваш логин и yourserver.com – доменное имя или IP вашего сервера.<\/p>\n<p>Пришлось немного повозиться с чтением манов и поэкспериментировать. Надеюсь, кому-то сэкономит время.<\/p>\n",
            "date_published": "2016-05-23T14:22:26+01:00",
            "date_modified": "2016-07-12T14:06:07+01:00",
            "tags": [
                "ai",
                "lifehack",
                "rsync"
            ],
            "_date_published_rfc2822": "Mon, 23 May 2016 14:22:26 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "115",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4134,
    "_e2_ua_string": "Aegea 11.3 (v4134)"
}