Created
April 3, 2014 13:16
-
-
Save jkomg/9954136 to your computer and use it in GitHub Desktop.
This file contains 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
jimc | |
btw there's a way to directly pull the sosreports from dropbox to sosbox | |
jkennedy | |
oh? | |
jimc | |
in a way it's a bit more click-work, but the overall transfer time will def be less | |
jimc | |
I create a file on sosbox called something like 'files' | |
jimc | |
for each file on dropbox that I want to pull down: | |
jimc | |
- right-click on the file, the Share File option pops up, click Copy Link or some option like that (there will be only 2 buttons in the popup window) | |
jimc | |
- paste the url into the file you're editing | |
jimc | |
once you've got all the urls: | |
jimc | |
for i in `cat files` ; do | |
jimc | |
wget $i | |
jimc | |
done | |
jimc | |
the resulting files will have something rather chatty in them | |
jimc | |
eg, | |
jimc | |
thefilenameyouexpect.tar.xz?token_hash<blablablasomeothercrap> | |
jimc | |
you can easily rename those :) | |
jimc | |
for i in sosreport-*token_hash* ; do mv $i ${i%\?*}; done | |
jkennedy | |
oh nice |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment