<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>node-modules · Daniel Sada</title><link>https://danielsada.tech/tags/node-modules/</link><description>Daniel Sada writes about developer productivity, engineering culture, AI and the software that saves him 100+ hours. Mostly in English, sometimes en español.</description><generator>Hugo</generator><language>en-US</language><managingEditor>hello@danielsada.tech (Daniel Sada)</managingEditor><lastBuildDate>Tue, 23 Jan 2018 00:00:00 +0000</lastBuildDate><atom:link href="https://danielsada.tech/tags/node-modules/index.xml" rel="self" type="application/rss+xml"/><item><title>How to copy all your repositories without node_modules with rsync.</title><link>https://danielsada.tech/blog/copy-node-modules/</link><pubDate>Tue, 23 Jan 2018 00:00:00 +0000</pubDate><guid>https://danielsada.tech/blog/copy-node-modules/</guid><description>&lt;p&gt;Sometimes when we are making backups on our files, and specially if you are a Node.js developer, you&amp;rsquo;ll suffer whilst copying your repositories to another place for making a backup. (Provided you don&amp;rsquo;t have git for all your repositories)&lt;/p&gt;&#10;&lt;p&gt;Just do:&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt; rsync -av --exclude 'node_modules' source destination &lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;And you are set. You could also exclude some other things like adding adding gitignore rules&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;rsync -av --filter=&amp;quot;:- .gitignore&amp;quot; source destination&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>