[Breaking Bad S01e01 ORPHEUS DVDRip.avi

0 views
Skip to first unread message

Luther Lazaro

unread,
Jun 13, 2024, 1:10:05 AM6/13/24
to saykhanthargeo

I'm doing a script to organize my media. I download files in one directory to accomodate them before adding to my media center.If for example I have a file called Breaking.Bad.S01E01.DVDRip.XviD-ORPHEUS.avi I would like the script to get the name of the show, check for season on S01 and move that file to a folder in another disk, for example e:\series\breaking bad\season 01So far it checks if the file is call s01e01 or S01E01 or s01.e01 or S01.E01 and returns Breaking Bad\Season 01, creates the path to move to and the moving action itself

Later, in your loop, you access each element using the BaseName property, which is a property of FileInfo objects, not strings. So, $FL_Item.BaseName returns an empty string and you get the errors as shown.

Breaking Bad s01e01 ORPHEUS DVDRip.avi


Download ————— https://t.co/DD0mkXJzCc



795a8134c1
Reply all
Reply to author
Forward
0 new messages