hi everyone. i am working with a script whose duties are to transfer some subdirectories from one location to another, along with the respective contents. the problem i have come across is that random files were left behind of various extentions( maybe .dll's, .kex's, and .sea's to just name a couple. mostly they are random extensions that i have never heard of). can anybody suggest an efficient way to after moving the contents of a subdirectory, to make sure that it has fully moved all the contents. right now after the script finishes, it says everything has moved even though there are still these random files. so basically, can anyone suggest something that makes sure a subdirectory is empty, and if not, moves whatever is there?
-thanks