technote:long_barcodes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technote:long_barcodes [2018/06/19 02:46] – [Truncation Via Media Properties In TapeMaster] Scott Cunliffe | technote:long_barcodes [2025/10/24 00:53] (current) – [Truncation] Scott Cunliffe | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ======Barcodes Longer Than 10 Characters In Length ====== |
| - | TapeTrack has a Volume-ID limit of 10 characters in length. | + | TapeTrack has a [[concepts: |
| + | |||
| + | Any volumes with an ID longer than 10 characters must be modified to fit within this criteria. | ||
| There are several ways in which can be achieved, such as truncation, translation or hashing. | There are several ways in which can be achieved, such as truncation, translation or hashing. | ||
| + | |||
| + | {{: | ||
| ===== Truncation ===== | ===== Truncation ===== | ||
| - | Truncating a barcode, or volume-ID, involves trimming off the start or end down to 10 or fewer characters. | + | Truncating a barcode, or [[concepts: |
| Truncating a barcode can be achieved by several different methods. | Truncating a barcode can be achieved by several different methods. | ||
| Line 15: | Line 19: | ||
| Barcodes can be truncated via the TapeTrack Scan window in TapeMaster, Lite and Checkpoint. | Barcodes can be truncated via the TapeTrack Scan window in TapeMaster, Lite and Checkpoint. | ||
| - | Information on truncating a barcode via the scan window | + | <note >This method only truncates volume-ID' |
| + | |||
| + | For detailed information please see [[desktop: | ||
| ==== Truncation Via Media Properties In TapeMaster ==== | ==== Truncation Via Media Properties In TapeMaster ==== | ||
| - | Truncation of a barcode by removing the suffix (eg removing L6 from 1234567890L6) can be achieved by setting the '' | + | Truncation of a barcode by removing the suffix (eg. removing L6 from 1234567890L6) can be achieved by setting the '' |
| - | Truncating a barcode via the [[object: | + | <note >This method |
| - | Adding L* will remove any 2 digit suffix from the volume-ID that starts with L (eg 123456L6 will truncate to 123456, 1000000001L3 will truncate to 1000000001) | + | Truncating a barcode via the [[object: |
| + | |||
| + | Adding | ||
| Line 31: | Line 39: | ||
| ===== Translation ===== | ===== Translation ===== | ||
| - | Translating a barcode, or volume-ID, involves swapping a recognisable | + | Translating a barcode, or volume-ID, involves swapping a recognizable |
| + | <note >This method works with command line programs, such as [[cli: | ||
| + | |||
| + | Using a translation statement **AddTranslation(VOLUME, | ||
| + | |||
| + | |||
| ===== Hashing ===== | ===== Hashing ===== | ||
| - | Hashing a barcode, or volume-ID, involves replacing the barcode with its 8 character hashed value, preceded by the value ''# | + | Hashing a barcode, or volume-ID, involves replacing the barcode with its 8 character hashed value, preceded by the value ''# |
| + | |||
| + | Reasons for hashing a barcode include extended length barcodes (11 characters or more) and barcodes that have spaces or other illegal characters. | ||
| + | |||
| + | It is a good practice to put the true, or un-hashed, barcode in the Attribute field to enable a human readable value as well as the hashed volume-ID. | ||
| + | |||
| + | Adding the un-hashed barcode to an extended attribute field can be manually added using the [[cookbook: | ||
| + | |||
| + | < | ||
| + | |||
| + | ==== Hashing via Scanning | ||
| + | |||
| + | Long [[object: | ||
| + | and hashed simultaneously by placing a ''#'' | ||
| + | |||
| + | Once the Volumes have been added, the long barcode can be added to the Description (or other Attribute) field using the [[cookbook: | ||
| + | |||
| + | ====Hashing via ttidef file ==== | ||
| + | |||
| + | Using a translation statement **AddTranslation(VOLUME, | ||
| + | |||
| + | Using a translation statement **AddTranslation(VOLUME, | ||
| + | |||
| + | ====Hashing via configuration files==== | ||
| + | |||
| + | Using the translation code block below in the configuration files will hash any 11 character or longer volume-ID' | ||
| + | |||
| + | < | ||
| + | barcodes= | ||
| + | { | ||
| + | | ||
| + | ( | ||
| + | { filter="??????????? | ||
| + | ); | ||
| + | }; | ||
| + | </ | ||
| + | Using the translation code block below in the configuration files will any barcode with spaces. | ||
| + | < | ||
| + | barcodes= | ||
| + | { | ||
| + | | ||
| + | ( | ||
| + | { filter=" | ||
| + | ); | ||
| + | }; | ||
| + | </ | ||
| + | <note tip> | ||
| + | {{tag> | ||
technote/long_barcodes.1529376398.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
