<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vivek Kumar (DevOps|SRE|Cloud|Platform Engineer)</title>
    <description>vivekyad4v, Docker, AWS, Azure, ECS, EKS, Terraform, Linux, Bash, Python, Jenkins, CI/CD, Kubernetes, Golang, DevOps, Security, DevOps|SRE|Cloud|Platform Engineer</description>
    <link>https://vivekyad4v.github.io/</link>
    <atom:link href="https://vivekyad4v.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sun, 21 Sep 2025 05:26:48 +0000</pubDate>
    <lastBuildDate>Sun, 21 Sep 2025 05:26:48 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>MacOS - Find all video, audio, CSVs, text files and copy it to other directories for backup etc</title>
        <description>&lt;h2 id=&quot;you-dont-need-to-go-to-finder-lookout-for-each--then-copy-paste&quot;&gt;You don’t need to go to Finder, lookout for each &amp;amp; then copy paste.&lt;/h2&gt;
&lt;p&gt; 
 &lt;/p&gt;
&lt;h3 id=&quot;you-can-either-copy-all-of-them-at-once-using-below-find-command-with-regex-incorporating-with-rsync-or-cp--&quot;&gt;You can either copy all of them at once using below find command with regex incorporating with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsync&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cp&lt;/code&gt; -&lt;/h3&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsync&lt;/code&gt; -&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find -E . -regex &apos;.*\.(jpg|png|mp4|mp3|csv|txt)&apos; -exec rsync -avzh {} ~/found/ \;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cp&lt;/code&gt; -&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mkdir ~/found&lt;/code&gt;&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find -E . -regex &apos;.*\.(jpg|png|mp4|mp3|csv|txt)&apos; -exec cp {} ~/found/ \;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt; 
 &lt;/p&gt;
&lt;h3 id=&quot;you-can-also-copy-them-to-individual-directories--&quot;&gt;You can also copy them to individual directories -&lt;/h3&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h4 id=&quot;copy-all-mp4-files-to-videos-directory--&quot;&gt;Copy all MP4 files to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;videos&lt;/code&gt; directory -&lt;/h4&gt;
&lt;p&gt; &lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsync&lt;/code&gt; -&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find -E . -regex &apos;.*\.(mp4)&apos; -exec rsync -avzh {} ~/found/videos/ \;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cp&lt;/code&gt; -&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mkdir ~/found&lt;/code&gt;&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find -E . -regex &apos;.*\.(mp4)&apos; -exec cp {} ~/found/videos/ \;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt; 
 &lt;/p&gt;
&lt;h4 id=&quot;copy-all-image-files-to-images-directory--&quot;&gt;Copy all image files to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;images&lt;/code&gt; directory -&lt;/h4&gt;
&lt;p&gt; &lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsync&lt;/code&gt; -&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find -E . -regex &apos;.*\.(jpg|png|jpeg)&apos; -exec rsync -avzh {} ~/found/images/ \;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cp&lt;/code&gt; -&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mkdir ~/found&lt;/code&gt;&lt;/p&gt;

    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;find -E . -regex &apos;.*\.(jpg|png|jpeg)&apos; -exec cp {} ~/found/images/ \;&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt; 
 &lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; We can create simple shell script and put it as a cronjob, using rsync you can perform inremental backup of your data to another drive or folder.&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Sat, 27 Oct 2018 00:00:00 +0000</pubDate>
        <link>https://vivekyad4v.github.io/devops/2018/10/27/macos-find-files-multiple-extensions-trick.html</link>
        <guid isPermaLink="true">https://vivekyad4v.github.io/devops/2018/10/27/macos-find-files-multiple-extensions-trick.html</guid>
        
        <category>Linux</category>
        
        <category>Shell</category>
        
        <category>DevOps</category>
        
        <category>MacOS</category>
        
        
        <category>Devops</category>
        
      </item>
    
      <item>
        <title>Learn Terraform from scratch</title>
        <description>&lt;h2 id=&quot;terraform-is-terrafic&quot;&gt;&lt;strong&gt;Terraform is Terrafic!&lt;/strong&gt;&lt;/h2&gt;

&lt;p&gt;You are gonna love it too. Have covered below in “basics-lesson1” -&lt;/p&gt;

&lt;p&gt;➛ Create VPC with 3 public &amp;amp; private subnets span across 3 AZs with internet &amp;amp; NAT Gateway. &lt;br /&gt;
➛ Create IAM policies, roles &amp;amp; instance profiles.  &lt;br /&gt;
➛ Create Autoscaling groups, Launch templates &amp;amp; SSH Key pairs for Application &amp;amp; Bastion host.  &lt;br /&gt;
➛ Create Target group &amp;amp; Application load balancer. &lt;br /&gt;
➛ Create security groups for Application, ALB, Bastion &amp;amp; Database instance.&lt;/p&gt;

&lt;p&gt;Just a single command and you create all of the above in no time. Terraform core takes care of all the inter-dependencies, I love this functionality.&lt;/p&gt;

&lt;p&gt;Here you go, straight into the action -&lt;br /&gt;
&lt;a href=&quot;https://github.com/vivekyad4v/terraform&quot;&gt;https://github.com/vivekyad4v/terraform&lt;/a&gt;  &lt;br /&gt;
(A lot more to come, fork/star it if you like it :-))&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✪&lt;/strong&gt; Terraform is an open source infrastructure as code(IaC) software by HashiCorp, written in GO, configuration files support HCL(HashiCorp configuration language)syntax or JSON format. It supports &amp;gt;70 infrastructure providers in cloud &amp;amp; on-premises both.  &lt;br /&gt;
#Terraform #HashiCorp #AWS&lt;/p&gt;
</description>
        <pubDate>Sat, 27 Oct 2018 00:00:00 +0000</pubDate>
        <link>https://vivekyad4v.github.io/devops/2018/10/27/terraform-chapter-1.html</link>
        <guid isPermaLink="true">https://vivekyad4v.github.io/devops/2018/10/27/terraform-chapter-1.html</guid>
        
        <category>Terraform</category>
        
        <category>Devops</category>
        
        
        <category>Devops</category>
        
      </item>
    
      <item>
        <title>Life - Profit &amp; Loss</title>
        <description>&lt;h1 id=&quot;failures-are-important&quot;&gt;FAILURES ARE IMPORTANT&lt;/h1&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;There is nothing in life which comes with just profit or just loss, it always has a combination of both. At times when we fail, we got to take it as experience. Obviuosly, we are humans &amp;amp; cannot commit everything right everytime without failures.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Fri, 09 Mar 2018 00:00:00 +0000</pubDate>
        <link>https://vivekyad4v.github.io/life/2018/03/09/life-lesson-1.html</link>
        <guid isPermaLink="true">https://vivekyad4v.github.io/life/2018/03/09/life-lesson-1.html</guid>
        
        <category>Lessons-Of-Life</category>
        
        
        <category>Life</category>
        
      </item>
    
  </channel>
</rss>
