rclone - include Service account blobs to your config

bash -c 'COUNT=0; for i in $(find . -iname "*.json");do ((count=count+1));VAL=`cat ${i} | jq -c '.'` ; echo "[dst$count]";echo "type = drive";echo "scope = drive";echo "service_account_credentials = $VAL" ; echo "team_drive = 0AKLGAlhvkJYyUk9PVA" ;done'
For easy portability you can include you service account blobs directly to your rclone config. So it generate a rclone config like the following: [dst977] type = drive scope = drive service_account_credentials = {"type":"service_account","project_id":"saf-ju66hcgi8qf8zidhvfww4oxwe7","private[.................] }
Sample Output
[dst977]
type = drive
scope = drive
service_account_credentials = {"type":"service_account","project_id":"saf-ju66hcgi8qf8zidhvfww4oxwe7","private[.................] }
[dst978]
type = drive
scope = drive
service_account_credentials = {"type":"service_account","project_id":"saf-ju66hcgi8qf8zidhvfww4oxwe7","private[.................] }
[....]

1
By: dbiesecke
2020-06-19 19:38:59

What Others Think

Choices mod apk download. https://apkgreat.com/choices-stories-you-play-mod-apk/
Garland147 · 29 weeks and 3 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Carter's Coupon Codes , please visit out website www.uttercoupons.com.
adam062 · 29 weeks and 2 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best TSplus Coupon Code , please visit out website www.uttercoupons.com.
adam062 · 29 weeks and 2 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Promo code for stadium goods , please visit out website www.uttercoupons.com.
adam062 · 29 weeks and 2 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Promo code for stadium goods , please visit out website www.uttercoupons.com.
adam062 · 29 weeks and 2 days ago
Great posts! I am actually getting ready to across this information, is very helpful my friend. happy wheels
Fiona99 · 27 weeks and 5 days ago
At Attorneys in West Palm Beach, we're in a mission to take out by cutting the barrier by 29, the cloud of mystery surrounding the law. In a language that our customer understands. Check https://attorneysinwestpalmbeach.com/dui-attorney/
lisacshearin77 · 27 weeks and 1 day ago
DUI Attorney
lisacshearin77 · 27 weeks and 1 day ago
I was able to find good information from your blog articles. Onmovies For Android
OnmoviesApk · 23 weeks ago
you sound like you know what you’re [url=https://google.com/]talking[/url] about!
ryanmatt · 22 weeks and 3 days ago
you sound like you know what you’re talking about!
ryanmatt · 22 weeks and 3 days ago
great content! will recommend this site to my friends
looneyhans · 13 weeks and 2 days ago
thanks for posting this. learned alot fencecompanysavannahga.com
looneyhans · 8 weeks and 5 days ago
thanks for this very helpful site! atlantadentalimplantsatlanta.com
Killersmile · 8 weeks and 2 days ago
BLOGS are important to get information and share ideas. We also build http://michielleunens.tech/" rel="dofollow">our blog and also listed some blogs to comment with high DA and TF.
ahmedsayeed1982 · 6 weeks and 3 days ago
thanks for this love this breast augmentation wichita ks
looneyhans · 5 weeks and 4 days ago
I truly adored reading your posting eyelash extensions
idasanka · 4 weeks and 2 days ago
cant wait to find this love, soo great! couples counseling
idasanka · 4 weeks ago
cant wait to find this love, soo great! couples counseling
idasanka · 4 weeks ago
Have you ever visited https://tonurideapelgratuite.com/category/iphone/, don't miss out.
Tomhiddeston · 2 weeks and 4 days ago
guitar lessons des moines I need to know more
yeoyeo · 2 weeks and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: