Futilities/human/ftm: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
For now, FTM does ''not'' support moving files that only match some criterion (e.g. file mask); tentatively, that can be done better by using {{l/same/lc|FTI}} and {{l/same/lc|FCC}}, or maybe FTS (if I actually end up writing that).
For now, FTM does ''not'' support moving files that only match some criterion (e.g. file mask); tentatively, that can be done better by using {{l/same/lc|FTI}} and {{l/same/lc|FCC}}, or maybe FTS (if I actually end up writing that).
==Options==
==Options==
{{i/var/page|table.header|page=Futilities/human/options/base}}
{{i/var/page|table.rows}}
{{i/var/page|table.rows|page=Futilities/human/options/spider}}
{{i/var/page|table.rows|page=Futilities/human/options/base}}
</table>
==Command==
ftm [{{arg|options}}] {{arg|source folder}} {{arg|target folder}}
FTM uses the [[../options/spider|spidering options]].
FTM uses the [[../options/spider|spidering options]].
==Future==
* {{l/sub|v0.6}} is in progress

Latest revision as of 19:31, 2 November 2024

FTM: File Tree Move

About

FTM reliably and unambiguously moves a tree of files from one place to another, by default doing a bytewise comparison after copying each file.

For now, FTM does not support moving files that only match some criterion (e.g. file mask); tentatively, that can be done better by using FTI and FCC, or maybe FTS (if I actually end up writing that).

Options

name
standardlongshortmeaning
ftm -dd --do-delete delete each file from source after copying
ftm -io --info-only don't actually copy; just show what would happen
spider--list-found=<params>-lf=<params> list all items found according to the rules in <params>, which is formatted like "<name>=<value>:<name>=<value>":
  • i=<what to include>: fi (file), fo (folder), or both
  • f=<filespec for output>
  • s: show on screen
base--config-file=<config spec>-cf=<config spec>name of config file to load instead of the default
base--show-progress-spupdate a line on the screen to show current activity

Command

ftm [<options>] <source folder> <target folder>

FTM uses the spidering options.

Future