Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Delete source file after successful convertion

Suggestions and feature requests, whislists, etc.

Delete source file after successful convertion

Postby Bednarus3 » Fri Nov 04, 2016 1:44 pm

It would be very useful option that delete source file after successful conversion. At the moment I use script that runs two commands. First one is "ffmpeg" second "rm" for each file in directory. Even if conversion goes wrong, script will remove source file anyway.
Bednarus3
 
Posts: 1
Joined: Fri Nov 04, 2016 12:01 pm

Re: Delete source file after successful convertion

Postby llogan » Fri Nov 04, 2016 5:29 pm

I highly doubt this will be added. Consider using the "-xerror" option, parsing exit codes, then using `rm`.
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
llogan
 
Posts: 2363
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron