export AWS_ACCESS_KEY_ID=’’xxx”
export AWS_SECRET_ACCESS_KEY=”xxx”
git init
>dvc init
dvc remote add -d nameforbucketfolder s3://bucketname/folder_name
dvc add data/testimages_module1
: a.gitignore
file with the blob folder will be added so this will not be saved to the code repository. hashes for each blob will be created & stored in.dvc/cache
dvc push
: send updates to S3 bucketdvc push -d example
ordvc push example.dvc
: note that it will be pushed to the default remote, which might not be the remote where you initially pushed to
dvc remote default remotename
dvc remote list
: list all remotescat .dvc/config
: list all remotes & default
dvc pull
: pull all data from all remotesdvc pull -d example
ordvc pull example.dvc
: pull from specificexample.dvc
. No need to switch to remote
dvc remote list
: show all remote connections, could be a diff source or folder.dvc/config
: details of remote connections
dvc remove example
: removes example.dvc & folder from .gitignoredu -sh .dvc/cache
: check cache sizedu gu --workspace
: clear objects in cache that are unused in workspace