i have 2 similar scripts that i need created - command line usage
first:
i need to sort a folder of screengrabs into subfolders based on part of the filename
filename structure: (-) can be used as the deliminator, it is always used in my naming to seperate the name of the file from the numnber of the jpg
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
script would make 2 folders
some_random_name and some_other_name and move the appropriate files into them.
i have a similar script attached that could simply be modified for this task. the attached script is used for files with slightly different filename convention.
second script: i need another revisin to the attached script
the attached script works on files named as such:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
the script creates a folder
some_random_name and moves in the appropriate files
i want to rename the files as they are moved into the subfolders
example
[login to view URL] would become /some_random_name/[login to view URL]