Tips and tricks

Mac Automator - Create a folder and ignore it in Dropbox

Launch Automator

Select Quick Action

in the top, receives: files or folder in Finder.app

Add a Run Shell Script, and set Pass input: as arguments

in the bash run:

cat > text.txt
for f in "$@"
do
    mkdir "$f/node_modules"
	xattr -w com.dropbox.ignored 1 "$f/node_modules"
done

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}