I am working to upload some assets to Candy Machine V2 but there are several NFT's/metadata that I need to remove from the collection. So in a collection of 3500, I need to remove 5 of them (for example - numbers 655, 1001, 2000, 2002, and 3001). I know that the assets need to start at the number 0 (i.e. 0.png and 0.json) but does it cause issues if there are file names that are skipping numbers. So after I remove the above 5, I'll have something like the following in the assets folder:
0.png
0.json
1.png
1.json
.
.
.
654.png
654.json
- now missing 655.png and 655.json
656.png
656.json
.
.
etc.
Is it an issue to be missing 655.png and 655.json? Do I need to go through and update the file names for everything so that 656.png is now 655.png, etc?
The official metaplex docs said that you must check that your asset folder has N images and N json files with names starting from 0 to N-1, not following this can cause issues on the minting (NFTs without metadata) or you dont even will be able to upload.
In order to remove X metadata files from ur asset folder you should create a really simple script (using python or other programing language) that iterates ur asset folder, creates a new one with the files you wanna remove and renamin all the remaining files.