prcs-assist-move1
Tools to help dealing with file renamings in combination with prcs
Part of prcs-move(1).
Usage
prcs-mv src
dst
prcs-what-may-move
prcs-ttyask-move src-list
dst-list
prcs-assist-move
Overview
prcs-mv-
Renames src into dst, both in the filesystem and in the prj file (that's for everyday work).
With option
-p, only impacts prj file, and does not check anything in the filesystem (used by prcs-assist-move, usable manually for renamings that can't be guessed).
prcs-what-may-move-
Prints on stdout the list of files that are candidates for renaming (those that would be ADDED or DELETED by prcs populate -d) in a format suitable as input for
prcs-ttyask-move
prcs-ttyask-move-
Takes from src-list a list of candidate files for renaming, attempts to match them based on their filenames (that is, only catch dir-hierarchy reorgs), and asks the user what to do with matches (using perl Term::Readline). Records those renamings in dst-list along with unchanged lines.
prcs-assist-move-
Runs prcs-ttyask-move on prcs-what-may-move output, then prcs-mv -p on the files the user specified as renames.
History
- Debian 4.0 (Etch): the text shown here
- Debian 3.1 (Sarge)