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 [2021/07/20 01:19] – [Truncation Via Media Properties In TapeMaster] fnicol | 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 [[concepts:unqualified_barcode|Volume-ID]] limit of 10 characters in length. | + | TapeTrack has a [[concepts:qualified_barcode|Volume-ID]] limit of 10 characters in length. |
| Any volumes with an ID longer than 10 characters must be modified to fit within this criteria. | Any volumes with an ID longer than 10 characters must be modified to fit within this criteria. | ||
| Line 11: | Line 11: | ||
| ===== Truncation ===== | ===== Truncation ===== | ||
| - | Truncating a barcode, or [[concepts:unqualified_barcode|Volume-ID]], | + | Truncating a barcode, or [[concepts:qualified_barcode|Volume-ID]], |
| Truncating a barcode can be achieved by several different methods. | Truncating a barcode can be achieved by several different methods. | ||
| Line 19: | 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. | ||
| - | < | + | <note >This method only truncates volume-ID' |
| For detailed information please see [[desktop: | For detailed information please see [[desktop: | ||
| Line 27: | Line 27: | ||
| 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 '' | ||
| - | < | + | <note >This method will truncate all matching volume-ID' |
| Truncating a barcode via the [[object: | Truncating a barcode via the [[object: | ||
| - | 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) | + | Adding |
| Line 41: | Line 41: | ||
| Translating a barcode, or volume-ID, involves swapping a recognizable pattern for an alternate value within the 10 character limit via translation statements in a ttidef file. | Translating a barcode, or volume-ID, involves swapping a recognizable pattern for an alternate value within the 10 character limit via translation statements in a ttidef file. | ||
| - | < | + | <note >This method works with command line programs, such as [[cli: |
| Using a translation statement **AddTranslation(VOLUME, | Using a translation statement **AddTranslation(VOLUME, | ||
| Line 56: | Line 56: | ||
| Adding the un-hashed barcode to an extended attribute field can be manually added using the [[cookbook: | Adding the un-hashed barcode to an extended attribute field can be manually added using the [[cookbook: | ||
| - | < | + | < |
| ==== Hashing via Scanning | ==== Hashing via Scanning | ||
| Line 75: | Line 75: | ||
| Using the translation code block below in the configuration files will hash any 11 character or longer volume-ID' | Using the translation code block below in the configuration files will hash any 11 character or longer volume-ID' | ||
| - | <sxh> | + | <code> |
| barcodes= | barcodes= | ||
| { | { | ||
| Line 83: | Line 83: | ||
| ); | ); | ||
| }; | }; | ||
| - | </sxh> | + | </code> |
| Using the translation code block below in the configuration files will any barcode with spaces. | Using the translation code block below in the configuration files will any barcode with spaces. | ||
| - | <sxh> | + | <code> |
| barcodes= | barcodes= | ||
| { | { | ||
| Line 95: | Line 95: | ||
| ); | ); | ||
| }; | }; | ||
| - | </sxh> | + | </code> |
| - | <note tip> | + | <note tip> |
| {{tag> | {{tag> | ||
technote/long_barcodes.1626743983.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
