How could one automatically move the txt files to the destination?

Support for Windows users
Post Reply
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

How could one automatically move the txt files to the destination?

Post by Biff »

How could one automatically move the txt (without or with renaming them) files to the destination?

Image
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one automatically move the txt files to the destination?

Post by rednoah »

Does the Import companion files post-processing feature work for your use case?
Image
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one automatically move the txt files to the destination?

Post by Biff »

Thank you.

No, that does not seem to work:
Image

Image
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one automatically move the txt files to the destination?

Post by rednoah »

Biff wrote: 16 Dec 2022, 11:46 Image
What happens if you click Rename? The previously mentioned post-processing features are executed after files have been renamed.
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one automatically move the txt files to the destination?

Post by Biff »

Sorry, since the files remain greyed out, although - as I saw later - they are being copied (not moved) after all, I assumed they would not be taken into account. Why do they stay greyed out?

And ALL of the files obviously are COPIED (not moved, as I thought), not only the txt files.
What happens if you click Rename?
Some files are moved (like usual) the others are copied obviously.
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one automatically move the txt files to the destination?

Post by rednoah »

:idea: Items that do not have a match on the opposite side are greyed out.

:idea: The Import companion files feature will indeed copy along arbitrary files from the source folder to the target folder. Apply Post-Processing Features are executed after files have been processed, and can be used on files that have been processed previously based on history information.

:!: Your specific use case of automatically moving along specific companion files seems to not be supported well. You can either use Manual Matching to manually match your *.txt and *.jpg but this isn't very automatic, or you can use Import companion files to automatically copy along all companion files. I'd probably go with Import companion files because manually deleting unwanted files seems straight-forward.



EDIT:

Can you post file paths as text so that we can add this to your list of sample files for possible future reference if we are to improve support for this specific use case?
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one automatically move the txt files to the destination?

Post by Biff »

:idea: Items that do not have a match on the opposite side are greyed out.
So it is not recognizable in FileBot whether one item will be moved / copied or not or be copied or moved?

Why at all "Import companion files"? Why is such an import? Not only a copy / move?
:!: Your specific use case of automatically moving along specific companion files seems to not be supported well. You can either use Manual Matching to manually match your *.txt and *.jpg but this isn't very automatic, or you can use Import companion files to automatically copy along all companion files. I'd probably go with Import companion files because manually deleting unwanted files seems straight-forward.
OK, many thanks!
Newest portable, stable FileBot, Windows 10 Home, 64bit
User avatar
rednoah
The Source
Posts: 22898
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: How could one automatically move the txt files to the destination?

Post by rednoah »

Biff wrote: 17 Dec 2022, 10:14 So it is not recognizable in FileBot whether one item will be moved / copied or not or be copied or moved?
The GUI will indeed not preview what Import companion files (or any other processing feature) will do after the shown Original Files / New Names mappings have been processed.


Import companion files is primarily useful for generically processing files that can't otherwise be processed. Please read Companion Files for details. Import companion files always uses --action duplicate (i.e. hardlink if possible, copy if necessary) so you don't lose your files if something goes wrong.




An alternative approach would be pre-renaming your Companion Files to match the name of the primary video file, so that automatic matching can make sense of things:

Code: Select all

Avatar.mp4
Avatar.xml
Avatar-poster.jpg
Avatar-description.txt
Image
:idea: Please read the FAQ and How to Request Help.
Biff
Posts: 241
Joined: 02 Mar 2014, 17:52

Re: How could one automatically move the txt files to the destination?

Post by Biff »

OK, many thanks! I will try that.
Newest portable, stable FileBot, Windows 10 Home, 64bit
Post Reply