Forum Discussion
How to recursively upload a large list of folders in to AzureStorage area using AZCopy/Powershell
Hi Guys,
First off, not very sure if this is the right place for this one but thought Azure would be more relevant.
I'm very new to Azure and trying to figure how to script this task. I have a large list of folders that are named after username of people in the orgnisation (see below). I'd like to upload selected set of these folder at a given time (say 100) and that 100 will be based on a CSV file which contains the folder name (username).
Root folder path "C:\SourceFolders\"
Inside each folder there are files but no 2nd level folders. I'd like to use a CSV as the source reference to select the folders to upload (say User2FirstName.LastName, User3FirstName.LastName). Basically, although the folder root location has a large number of folders, only the ones defined in the CSV will be uploaded (serial or parellel)
Using AZCopy tool and PowerShell, I'd be grateful if someone please can help me to create a script to run this as a batch and potentially set a single output log file for the whole batch. 🙂
Thanks very much in advance !
Kev