Skip to content

Commit

Permalink
update token
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Feb 22, 2024
1 parent 171ca1f commit 568a68f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/dataset-acc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ _name="$1"
_id="$2"
_secret="$3"
_drive="$4"
_token="$5"

rclone config create "$_name" onedrive client_id "$_id" client_secret "$_secret" config_refresh_token false token "$_token" drive_id "$_drive" drive_type business
token=$(rclone authorize "onedrive" "$_id" "$_secret" --auth-no-open-browser)

rclone config create "$_name" onedrive client_id "$_id" client_secret "$_secret" config_refresh_token false token "$token" drive_id "$_drive" drive_type business

rclone sync -P dataset:/"$_name" /dev/shm/"$_name" --transfers 8 --fast-list --progress --tpslimit 48 --drive-chunk-size 512M --max-transfer 2000G --multi-thread-streams 24 --onedrive-chunk-size 128000k --sharefile-chunk-size 512M

0 comments on commit 568a68f

Please sign in to comment.