Hi,
What is the best node to use to delete the source file cache record and move that file to another location after the transcode has finished?
I do not want to delete the source file just the cache so if it is dropped into the watch folder again, it can go through the workflow again.
Also, where would I put the node after the delivery node?
Thank you.
How to delete .cache of the input file and move that file.
Re: How to delete .cache of the input file and move that file.
Hello John,
If I understand well, you want to encode a file, deliver encoded file, move the source file and clean cache. In that case, the same source file in watch folder will encode again.
So, folder monitor>encoder node>delivery node>command executor node (move source file)>command executor node(clean cache).
Use move command to move your source file into another folder(full path) and use --%comspec% /c "del /f /q "%s_cache_record%""-- to clean your cache.
[EDIT:] be aware that this command "del /f /q "%s_cache_record%"" will attempt to delete all files in c:\windows\system32 in case "%s_cache_record%" has no value (when you submit a file manually).
I think it will be ok
Cheers.
Benjamin
If I understand well, you want to encode a file, deliver encoded file, move the source file and clean cache. In that case, the same source file in watch folder will encode again.
So, folder monitor>encoder node>delivery node>command executor node (move source file)>command executor node(clean cache).
Use move command to move your source file into another folder(full path) and use --%comspec% /c "del /f /q "%s_cache_record%""-- to clean your cache.
[EDIT:] be aware that this command "del /f /q "%s_cache_record%"" will attempt to delete all files in c:\windows\system32 in case "%s_cache_record%" has no value (when you submit a file manually).
I think it will be ok
Cheers.
Benjamin
Re: How to delete .cache of the input file and move that file.
Hi Benjamin,
Please, can you provide the move command for the source file?
I am new to this feature of FFAStrans.
Please, can you provide the move command for the source file?
I am new to this feature of FFAStrans.
Re: How to delete .cache of the input file and move that file.
Ok John, no problem:
here it is :
%comspec% /c "move /y "%s_original_full%" "path where move file""
Let try
B.
here it is :
%comspec% /c "move /y "%s_original_full%" "path where move file""
Let try
B.