[ ] Regression (a behavior that stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ x ] Documentation issue or request
Current behavior
I have a problem with assets. The files are stored in the Assets folder. For some reason, some files were manually deleted from this folder.
Now we need to copy the app to app2 via the CLI.
I try sq.exe sync out testOut and get 404 for the files. The rest of the data exports successfully.
How can I skip manually deleted assets?
Broken files should be deleted or skipped during export.
There is another option - to restore dummy asset files and delete them manually. But there are a lot of them and I don’t see an automatic tool.
I study the possibilities of CLI.
At first, when the files were deleted, the team did not yet know that they should not be manually deleted from the Assets folder)
You can add a flag to ignore broken assets so that the user can choose whether to use it or not. Writing to a file is a good idea.
If we lost the blob file, then I think we can’t return the asset?)
There is a bug in the last commit. The logger was not passed as a parameter.
I used the version from the master branch, passed the logger and the import worked.