my website is quite large, and I have a backup of all csv and image files on my computer
as I have over 100,000 products and my intention is to filter the list onto separate website so that each site carries a different category
my problem comes when I upload the csv files, and the images, some of the images seem to be missing, but to go through 100,000 product lines would be a nightmare.
I had a good excel programmer friend help me out one time, with the following batch file, which was of enormous help, and probably will be for anyone else wanting to filter out images from a huge folder, based on those inside a text file
is there anyone who can take this a step further, and have the batch file dump a list of the filenames it was not able to find, into a separate file?
batch.bat file is
Code:
@echo off & setlocal
:: assuming this is where they are, if not, adjust as needed:
set location=C:\Users\Windows7\Desktop\iwantafiles\fullcsvfiles\categories\mobiles\images
for /f "tokens=*" %%a in (%location%\imagelist.txt) do (
copy "%location%\%%a" c:\imagelist
)
::end batchscript
Bookmarks