lifrename - renames a file on a LIF image file
lifutils lifrename [-l] [-p] LIFIMAGE OLDFILENAME NEWFILENAME
lifutils lifrename -?
lifrename renames single file, specified by OLDFILENAME to NEWFILENAME. on the LIF image file LIFIMAGE. OLDFILENAME and NEWFILENAME are case-sensitive. NEWFILENAME must be given in upper case.
Note: OLDFILENAME 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
lifutils lifrename disk1.dat TEST1 TEST2
will rename the file TEST1 on the LIF image file 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