Message 1 of 4
(MEL)writing a renamer script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
im currently stuck on a supposedly straightforward section of my script. Im writing a script that is striping the Suffix of the naming. To do that im using tokenize to separate and store the strings after "_". But im stump on the why it doesnt print the result.
{
string $userSel[]=`ls -sl -transforms`;
string $buffer[];
int $token;
for ($node in $userSel){
$token = `tokenize $node "_" $buffer`;
print $buffer[$token];
}
}Thanks
https://www.artstation.com/kelvintam