Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if Import-AzureRmDataLakeStoreItem is faster with -Recurse #11

Open
miguelgfierro opened this issue Feb 16, 2017 · 1 comment
Open

Comments

@miguelgfierro
Copy link
Owner

https://docs.microsoft.com/en-us/powershell/resourcemanager/azurerm.datalakestore/v2.1.0/import-azurermdatalakestoreitem

@miguelgfierro
Copy link
Owner Author

$files = Get-ChildItem -Path $localFolder -Recurse
for ($i=0; $i -lt $files.Count; $i++) {
$content = $files[$i].FullName
Import-AzureRmDataLakeStoreItem -AccountName $dataLakeStoreName -Path $localFolder$content -Destination $adlsFolder$content -Force -Recurse
}

I get the error:
Import-AzureRmDataLakeStoreItem : The source path
'C:\MS\datasets\luna16_lidcC:\MS\datasets\luna16_lidc\DOI\LIDC-IDRI-0139' does not exist or the current user cannot
access it. Ensure the path exists and is accessible and try again.

The problem is in content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant