Page 1 of 1
How to delete .cache of the input file and move that file.
Posted: Wed Oct 31, 2018 6:52 pm
by JohnB1
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.
Re: How to delete .cache of the input file and move that file.
Posted: Thu Nov 01, 2018 8:51 am
by momocampo
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
Re: How to delete .cache of the input file and move that file.
Posted: Thu Nov 01, 2018 12:23 pm
by JohnB1
Hi Benjamin,
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.
Posted: Thu Nov 01, 2018 12:39 pm
by momocampo
Ok John, no problem:
here it is :
%comspec% /c "move /y "%s_original_full%" "
path where move file""
Let try
B.