You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark the file records to Move or Delete with the likes of:
UPDATE filelist SET ToDel=1 WHERE FileName LIKE "%Thumbs.db";
UPDATE filelist SET ToDel=1 WHERE FileName LIKE "~%";
UPDATE filelist SET ToMove=1 WHERE FileName LIKE "%.derp";
Query the File List for File Extension statistics with:
SELECT SUBSTRING_INDEX(FileName,'.',-1) As Extn, COUNT(*) as Files from filelist GROUP BY Extn;
Generate the DOS Command Line commands to Delete files with:
SELECT CONCAT("del ",CONCAT('"',FolderName,FileName,'"')) AS DelFiles FROM filelist WHERE ToDel=1;
Generating the DOS move (ren) statements would need a destination folder as well besides choosing to overwrite existing files