oups Voice
Joined: 16 Aug 2016 Posts: 1
|
Posted: Tue Aug 16, 2016 8:40 am Post subject: Unrar/unzip/tar |
|
|
hi
i search a solution for my script.
i would like Unrar/unzip/tar into a specific folder when a command is write in my chan.
$isy_(unrar_data) : my folder
| Code: |
set rarvar [glob -directory $ndir *.rar]
set rarfile [string trim [lindex [split $rarvar "/"] end]]
catch { exec unrar x $ndir/$rarfile $isy_(unrar_data)/} data
|
but i don t understand why he doesn't work.
You can help me please |
|