lifrename - renames a file on a LIF image file
lifrename [-l] [-p] <LIF image file> <old filename> <new filename>
lifrename -?
lifrename renames single file, specified by old filename to new filename. old filename and new filename are case-sensitive. new filename must be given in upper case.
Note: old filename has not to comply with the LIFUTILS file name conventions. Thus this command may be used to rename files that can not processed with the LIFUTILS otherwise.
-l |
Relax file name checking, allow underscores in new file name. | ||
-p |
Rename a file on a floppy disk with a LIF file system. Note: this option is only supported on LINUX. Specify the floppy device instead of the lif-image-filename. See the LIFUTILS tutorial for details. | ||
-? |
Print a message giving the program usage to standard error. |
If disk1.dat is a LIF image file containing a file called TEST1 then
lifrename disk1.dat TEST1 TEST2
will rename the file TEST1 on the LIF disk image disk1.dat to TEST2.
The LIF disk directory format is documented in the HP-IL Interface Owners Manual for the HP-71 (Hewlett-Packard) with further details (particularly HP-41 and HP-75 file types) in the HP-41 Synthetic Quick Reference Guide (Jeremy Smith)
lifrename was written by Joachim Siebold <bug400@gmx.de> using code from by Tony Duell, ard@p850ug1.demon.co.uk and has been placed under the GNU Public License version 2.0