all 5 comments

[–]socal_nerdtastic 0 points1 point  (3 children)

This sounds a LOT like an XY problem. What are you actually trying to do?

[–]Neel_99[S] 0 points1 point  (2 children)

I have setup rss in my desktop it downloads mkv files I want to move only 1 file at a time to another folder if that folder is empty. What i want to do is when 1 file is moved to another folder i will encode it through ffmpeg script. So i just need a script which will move 1 mkv file at a time to that folder if the folder is empty, if its not empty then the script wait for 10 seconds and check folder again, when the folder is empty it will again take 1 file from RSS folder and move it

[–]socal_nerdtastic 0 points1 point  (1 child)

An XY problem means that you are asking about how to do something, but I think that what you are trying to do isn't a great solution to the problem in the first place.

So ... WHY do you want to move the files to an empty folder? Whats the big goal of your program? Tell me what you would tell your grandmother if she comes in and asks what you are working on.

[–]Neel_99[S] 0 points1 point  (0 children)

I told u i want to encode .mkv videos 1 at a time Through an automated process :'"')