|
NAMEltfs_ordered_copy - Copy files from source to destination with LTFS order optimizationSYNOPSISltfs_ordered_copy [ -p ] [ -r ] [ -t TARGET_DIRECTORY ] [ --keep-tree CUTOFF_PREFIX ] [ -a ] [ -v ] [ --verbose LOG_LEVEL ] [ -q ] [ -h ] [ SOURCE ... ] [ DESTINATION ]DESCRIPTIONltfs_ordered_copy is a program to copy files from source to destination with LTFS order optimization. This command tries to acquire file list to copy to DESTINATION when no SOURCE is specified.OPTIONSThese programs follow the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below. For a complete description, see the Info files.
COMMAND EXAMPLESThis section shows various command examples.SIMPLE USAGECopy file /foo/aaa to file /foo/bbb$ ltfs_ordered_copy /foo/aaa /foo/bbb Copy file /foo/aaa and /foo/bbb to directory /bar/ % ltfs_ordered_copy /foo/aaa /foo/bbb /bar Copy directory /foo/ddd and /foo/DDD to directory /bar/ % ltfs_ordered_copy /foo/ddd /foo/DDD /bar HOW TO USE WITH FIND COMMANDCopy all files under /foo/ddd to directory /bar$ find /foo/ddd -type f | ltfs_ordered_copy -t /bar Copy all directories just under /foo/ddd to directory /bar $ find /foo/ddd -type d -maxdepth 1 | ltfs_ordered_copy -t /bar Copy all files just under /foo/ddd to directory /bar with keeping tree (Chop /foo/ddd from source list) $ find /foo/ddd -type f | ltfs_ordered_copy -t /bar --keep-tree=/foo/ddd
Visit the GSP FreeBSD Man Page Interface. |