-
Notifications
You must be signed in to change notification settings - Fork 8
/
ltopers.1
123 lines (123 loc) · 3.18 KB
/
ltopers.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.TH ltopers 1 "https://github.com/amiaopensource/ltopers" "2019-01-22" "AMIA Open Source"
.\" Turn off justification for nroff.
.if n .ad l
.\" Turn off hyphenation.
.nh
.SH NAME
LTOpers - Scripts to manage LTO cartridges with LTFS
.SH SYNOPSIS
.SS
\fBformatlto\fR [\fB-f\fR] [\fB-c\fR] [\fB-x\fR] | \fB-h\fR
Format an LTO cartridge with LTFS.
.TP 4
.B -f
force formatting
.TP
.B -c
use compression
.TP
.B -x
use barcode label as tape serial (caveat: this is \fBNOT\fR standard)
.TP
.B -h
display a help message
.SS
.B ltopers
Display this man.
.SS
.B mountlto
Mount an LTO cartridge.
.SS
\fBreadlto -t \fIserial\fR [\fB-e \fIY\fR|\fIN\fR] | \fB-h\fR
Transfer files from an LTO cartridge to another location.
.TP 4
.B -t
cartridge's \fIserial
.TP
.B -e
eject the cartridge after migration: \fIY\fR (default) or \fIN
.TP
.B -x
use barcode label as tape serial (caveat: this is \fBNOT\fR standard)
.TP
.B -h
display a help message
.SS
\fBrenameschemas -u\fR | \fB-h\fR
Find all .schema LTFS indexes in the LTO_LOGS directory and rename them to use the top-level file system directory name rather than the UUID. Any conflicting filenames are moved to another folder, if needed.
.TP 4
.B -u
change dir-named schema files to the tape UUID
.TP
.B -h
display a help message
.SS
\fBverifylto -t \fIserial\fR [\fB-e \fIY\fR|\fIN\fR] | \fB-h\fR
Verify the checksums of an LTO cartridge.
.TP 4
.B -t
cartridge's \fIserial
.TP
.B -e
eject the cartridge after migration: \fIY\fR (default) or \fIN
.TP
.B -x
use barcode label as tape serial (caveat: this is \fBNOT\fR standard)
.TP
.B -h
display a help message
.SS
\fBwritelto -t \fIserial\fR [\fB-e \fIY\fR|\fIN\fR] [\fB-v\fR] | \fB-h\fR
Write the contents of a specified directory onto a mounted LTFS-formatted LTO cartridge.
.TP 4
.B -t
cartridge's \fIserial
.TP
.B -e
eject the cartridge after migration: \fIY\fR (default) or \fIN
.TP
.B -v
verify the checksums of the LTO cartridge's contents
.TP
.B -x
use barcode label as tape serial (caveat: this is \fBNOT\fR standard)
.TP
.B -h
display a help message
.SH DATABASE-RELATED COMMANDS
.SS
.B ingestcollectionchecksum
Import already existing information to the database (read back checksums). It can be run either on individual files or on directories containing multiple files.
.SS
.B ingestschemas
Import already existing information to the database (LTO schema information). It can be run either on individual files or on directories containing multiple files.
.SS
\fBsearchlto\fR [\fB-c\fR] [\fB-f\fR] [\fB-m\fR] {\fIquery\fR} | \fB-h\fR
Perform at least one \fIquery\fR against the LTO schema information stored in the database.
.TP 4
.B -c
compare input to database
.TP
.B -f
show full results (as opposed to only .mov files)
.TP
.B -m
MD5 checksums
.TP
.B -h
display a help message
.SH CUNY-SPECIFIC COMMANDS
.SS
.B collectionchecksum
Create checksums of metadata files, concatenate checksum.md5 files, and append to one large checksum file for each directory.
.SS
\fBindexschemas -t\fR | \fB-h\fR
Make a text file listing certain files from the LTFS schema file.
.TP 4
.B -t
check schema files modified today for volume names that may need to be overwritten
.TP
.B -h
display a help message
.SH LICENSE
The LTOpers package is licensed under an MIT License.