Last active
January 1, 2020 11:29
-
-
Save vsay01/3650dd4e63df4f9f2043b2c17d81fa6d to your computer and use it in GitHub Desktop.
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 clone "{GIT_PATH}" ./temp # clone github repository to temp folder | |
| !mv ./temp/* "{PROJECT_PATH}" # move all files/folders in temp folder to folder defined in project path | |
| !rm -rf ./temp # remove all the files/folders in temp folder | |
| !rsync -aP --exclude=data/ "{PROJECT_PATH}"/* ./ # use remote sync to copy from google drive to local runtime google colab | |
| # but exclude data folder | |
| # https://www.computerhope.com/unix/rsync.htm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment