next up previous contents
Next: The online and Up: Commands Previous: The export command

The rename command

Syntax:
rename jukebox_spec range newname

The rename command changes the names of the tapes (if any) in the given range to newname, newname + 1... If the newname ends in a digit, it counts in base 10, if the newname ends in a letter it counts in base 26.

For example:

> rename slot 1-10 fred00
> list slot 0-9
Name          Location        Hops Date
fred00        slot 1          9	   Tue...
fred01        slot 2          9    Tue...
fred02        slot 3          9    Tue...
fred03        slot 4          9    Tue...
fred04        slot 5          9    Tue...
fred05        slot 6          9    Tue...
fred06        slot 7          9    Tue...
fred07        slot 8          9    Tue...
fred08        slot 9          9    Tue...
fred09        slot 10         9    Tue...
> rename slot 1-10 fredAS
> list slot 0-9
Name          Location        Hops Date
fredAS        slot 1          9	   Tue...
fredAT        slot 2          9    Tue...
fredAU        slot 3          9    Tue...
fredAV        slot 4          9    Tue...
fredAW        slot 5          9    Tue...
fredAX        slot 6          9    Tue...
fredAY        slot 7          9    Tue...
fredAZ        slot 8          9    Tue...
fredBA        slot 9          9    Tue...
fredBB        slot 10         9    Tue...

(see the "Locations", "Names", and "Range" sections for more information)



Marc Mengel
Wed May 29 11:09:46 CDT 1996