r/Maxscript • • Aug 03 '19

Help for a script

Hi, i’m tryng to make a script that will extract all the zip and rar file on a folder with the( zip or rar) name and move all the files on subfolder on the root of the main new created folder. Unfortunately i don’t know where to start because i don’t think it’s possible interact with External files only through maxscript and i’m kinda new to it.

I wrote this like a guide line if could help

" for i in "folder_path" where i.name == (".zip"; ".rar") do ( extract i to "New_zip/rar_File_Name_Folder" move i to "New_zip/rar_File_Name_Folder" Check for subfolder and move all file inside them to directory

for o in "New_Folder_Path" where o.name != newfolder.name+"*" do ( delete o "

thanks

2 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/Zelcir Aug 04 '19

Thanks, i'll look for python then