Futilities/human/ftm

From Woozle Writes Code
Jump to navigation Jump to search
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