Created
May 6, 2022 23:18
-
-
Save chrisgoffinet/fde4a65c5cd569ba8a10a272af59b26c to your computer and use it in GitHub Desktop.
[cron] Automatically ignore node_modules in Dropbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# * * * * * ~/bin/dropbox.sh >/dev/null 2>&1 | |
echo "Dropbox: ignoring node_modules..." | |
find ~/Dropbox -name "node_modules" -prune -exec echo {} \; -exec xattr -w com.dropbox.ignored 1 '{}' + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment