Well if your using an exclusion then yes but if a tp file exists you don't want to move ANY of it's files either (xxx.*).....cause it hasn't been converted yet and workfiles might exist.
You have the rare possibility that a .avi could be being written to at the time your job runs..if so it's not going to allow you to move the avi.....it's almost as though you want to try to move the avi and check the result....if positive you can move xxx.*......if an error occured you probably want to do some cleanup and remove the copy that might exist in the subfolder....was that clear as mud?
Here's a list of the files currently in the video dir.....
smb://
[email protected]/G/Video/Airwolf-2009-06-21-0.tp
smb://
[email protected]/G/Video/Airwolf-2009-06-21-0.tp.index.dat
smb://
[email protected]/G/Video/Airwolf-2009-06-21-0.tp.timeindex.dat
smb://
[email protected]/G/Video/airwolf-2009-06-21-0.xml
smb://
[email protected]/G/Video/Hardy Boys_Nancy Drew Mysteries-2009-06-21-0.tp
smb://
[email protected]/G/Video/Hardy Boys_Nancy Drew Mysteries-2009-06-21-0.tp.index.dat
smb://
[email protected]/G/Video/Hardy Boys_Nancy Drew Mysteries-2009-06-21-0.tp.timeindex.dat
smb://
[email protected]/G/Video/hardy boys_nancy drew mysteries-2009-06-21-0.xml
smb://
[email protected]/G/Video/Return to Me-2009-06-21-0_cut.xml
smb://
[email protected]/G/Video/Return to Me-2009-06-21-0.tp.index.dat
smb://
[email protected]/G/Video/Return to Me-2009-06-21-0.tp.timeindex.dat
smb://
[email protected]/G/Video/ts0.header.dat
smb://
[email protected]/G/Video/ts0.index.dat
smb://
[email protected]/G/Video/ts0.timeindex.dat
smb://
[email protected]/G/Video/ts1.header.dat
smb://
[email protected]/G/Video/ts1.index.dat
smb://
[email protected]/G/Video/ts1.timeindex.dat
I show you all the ts0 and ts1 files cause they should never move....the tp's and their support files should be ignored.....you'd be looking for some like these to move:
smb://
[email protected]/G/Video/The Listener/The Listener-(A Voice in the Dark)-2009-06-11-0.avi
smb://
[email protected]/G/Video/The Listener/The Listener-(A Voice in the Dark)-2009-06-11-0.avi.chapters.xml
smb://
[email protected]/G/Video/The Listener/The Listener-(Some Kinda Love)-2009-06-18-0.avi
smb://
[email protected]/G/Video/The Listener/The Listener-(Some Kinda Love)-2009-06-18-0.avi.chapters.xml
smb://
[email protected]/G/Video/The Listener/The Listener-(Some Kinda Love)-2009-06-18-0.csv
smb://
[email protected]/G/Video/The Listener/The Listener-(Some Kinda Love)-2009-06-18-0.log
I'm cutting and pasting across the network so obviously the local paths would be G:\Video\Filename*
I think I've used up my "one hour of coding"....is your brain hurting yet?