Skip to content

raven428/my-drive-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discontinued

You have to use more flexible rclone tool instead this.

my-drive-sync

google drive downloader for local backups

installation

curl -L https://install.perlbrew.pl | bash
perlbrew init
perlbrew install perl-5.18.4 -j 9
perlbrew install-cpanm
perlbrew lib create perl-5.18.4@gdrive
perlbrew use perl-5.18.4@gdrive
cpanm Net::Google::Drive::Simple DateTime DateTime::Format::RFC3339

then you need to make token for access goole drive, then

perlbrew exec --with perl-5.18.4@gdrive ./my-drive-sync.pl

usage

my-drive-sync.pl \
  --dstdir /usr/nfs/google-drive/raven428 \
[ --exclude acr \]
[ --delete ]

---dstdir - destination directory;

--exclude - regular expressions for exclude scanning remote directories;

--delete - delete local files, removed from drive;

About

google drive downloader for local backups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published