SCRIPT 1:

for /r %%i in (*.rar *.zip) do "C:\Program Files\WinRAR\WinRAR.exe" d -IBCK -inul "%%i" *.3ds *.fbx *.dwg *.obj *.txt *.url *.c4d *.skp *.mtl *.dxf






SCRIPT 2:

@echo off
for /r %%i in (*.max) do (
    echo Compressing "%%i"
    "C:\Program Files\WinRAR\WinRAR.exe" a -IBCK -inul "%%~dpi%%~ni.rar" "%%i"
    del "%%i"
)








NOTE
2 small bat scripts for faster and easier managing compressed archives.
Just save the text as .BAT file and start within folder you want to make changes

1. archive clean files.bat, delete all the files in the archive from the list without expanding the archive
basically open on the fly, delete them, and repack again
so, you can delete all OBJ FBX files from your archives you do not want...
for /r %%i in (.rar .zip) do "C:\Program Files\WinRAR\WinRAR.exe" d -IBCK -inul "%%i" .3ds .fbx .dwg .obj .txt .url .c4d .skp .mtl .dxf

2. archive and delete files.bat compress the specific files, like .MAX or .HDRI and than delete them leaving the archive in same location as previous file was
@echo off
for /r %%i in (.max) do (
   echo Compressing "%%i"
   "C:\Program Files\WinRAR\WinRAR.exe" a -IBCK -inul "%%~dpi%%~ni.rar" "%%i"
   del "%%i"
)


3.  delete ALL but leave ONE of specific file extension files....ahaha, I do not know to make it.
But it could be life saver, like in 3dsky archives you have
file corona 2018.max
file corona 2015.max
file vray 2015.max
file vray 2018.max
which is terrible waste of HDD space, removing ALL but leave random one would be great
making the rule of WHAT file to delete would be hard to make, as we have a lot names conventions
but delete all 1+ files would be just enough as vray<>corona convertors works very well.
If some know to make it, it would be great!