Comments (5)
@prjain-msft this is per the design. There were pre-existing files in the container.. Then wanted to copy a completely new folder to the container using sync command.. And of course all files in the container which did not exist in the local filesystem got deleted... This is per design... But users won't know this design until after they lose their data. Bottom line, can we have a warning, or a yes/no question before we do what we do (delete files in the destination that does not exist in source) ?
from azure-storage-azcopy.
For the first time, when you ran the sync command, how many files were there in you container aktest before running the sync command.
from azure-storage-azcopy.
We can do that. Print a warning message and ask for you user decision to delete the existing blobs or not.
I will add the task and work on it. But will this question be by default printed for every sync operation or will be printed only if there are existing blobs in the destination ?
from azure-storage-azcopy.
Possibly this would only be required if no files/folders from the source existed in the destination? Or perhaps this could be a flag --prompt-delete=true <default=false> If you have scripts that utilize azcopy it would be very annoying for them to be held up by a prompt.
from azure-storage-azcopy.
This is now fixed.
from azure-storage-azcopy.
Related Issues (20)
- Unable to delete the files not completed automaticly when fileshare is full. HOT 2
- AzCopy doesn't work with user delegation key HOT 1
- Copy looking only at certain depth
- azcopy is waiting on input when run in the background (part deux)
- Error copying large subset of files (1M+) from a Onprem to a Azure File Storage HOT 3
- Release a new azcopy with "golang.org/x/net" of "0.23.0" to fix the vulnerability issue. HOT 2
- 10.25.0 Breaks List Command HOT 8
- Syslog error message on successful copy activity
- Azcopy on Mac: too many open files HOT 3
- azcopy login status shows "INFO: You are currently not logged in. Please login using 'azcopy login'" after login with AzCLI login-type HOT 2
- azcopy-node: Executable not found in $PATH: HOT 1
- Downloading from an Azure CDN endpoint to the local filesystem error
- Number of pending file transfers is greater than total number of files HOT 3
- Script URL is pulling the bleeding edge release HOT 1
- AzCopy v10 "panic: send on closed channel" on 403 Response HOT 1
- build azcopy with go 1.22.4 HOT 7
- Support for overwrite by deleting the existing file when it fails with 409 error
- `azcopy list` version `10.25.0` with the default output `text` does not output resources HOT 5
- File Creation Error mkdir HOT 1
- Segmentation violation running Azcopy jobs list on mac os HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-storage-azcopy.