BackBlaze B2 Download Multiple files and folders at once
-
So a user has requested we pull down an older job folder, OK not a problem, we have it right here.. . . (well we do have it but, you can't download more than 5 files via the web interface).
Ok so how do you use the CLI to download multiple files and folders at once?
The documentation says to use this
b2 download-file-by-name [--noProgress] <bucketName> <fileName> <localFileName>
But this appears to be for specific files, not entire folders. I could create a snapshot of the folder and then download that, but that seems to defeat the point.
Does anyone have any pointers?
-
GO into the web interface to get all the file names and then copy paste into a script to download them all.
-
@jaredbusch all is quite a large number (of files and subfolders for this one job) and they are buried in several subfolders as well.
I guess just making a snapshot of the folder will have to do. . .
-
Does the CLI support wildcards?
-
(disclaimer: I work for Backblaze)
I would invite you to use a third-party tool such as Cyberduck, Forklift, or Transmit.
Alternately, you could use the B2 command line to sync from Backblaze to an empty directory on your machine:
b2 sync
-
@BackblazeNathan said in BackBlaze B2 Download Multiple files and folders at once:
(disclaimer: I work for Backblaze)
Welcome!