Use rsync and exclude node_modules:
rsync -rv --exclude=node_modules my_projects /media/my_name/Seagate\ Expansion\ Drive/
-rv stand for recurse into directories and increase verbosity (see more info while copying)
An entry from the gengns log, written by Génesis García Morilla · · Tooling
Use rsync and exclude node_modules:
rsync -rv --exclude=node_modules my_projects /media/my_name/Seagate\ Expansion\ Drive/
-rv stand for recurse into directories and increase verbosity (see more info while copying)