Created
November 13, 2019 04:17
-
-
Save maltoze/9001ce0cb51c379168216c4b62b4ca98 to your computer and use it in GitHub Desktop.
rsync exclude .gitignore files
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
git -C superset ls-files --exclude-standard -oi --directory > .git/ignores.tmp && echo.git/ignores.tmp | |
rsync -azP --delete --exclude-from .git/ignores.tmp SRC DEST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment