amiaopensource / ltopers

Bash scripts to manage LTO cartridges with LTFS
https://github.com/amiaopensource/ltopers
MIT License
39 stars 8 forks source link

Update writelto #3

Closed BleakleyMcD closed 8 years ago

BleakleyMcD commented 9 years ago

Having the contents of the tape at the top directory level in a text file has always been helpful for me, but having to mountlto again just to run this final step was always a bit of a pain. I think these additions should fix that... I haven't actually tested it yet... Could maybe also do a ls -Rl > TAPE_PATH/TAPE_SERIAL_contentsLong.txt

~B

dericed commented 9 years ago

I think this would have to be optional rather than hard-code, such as writelto -m -t ABC121 /dir/to/tape where -m means that the ls output would be made as suggested.

BleakleyMcD commented 9 years ago

OK. That would work too! If possible, it would be extra cool to indicate the directory depth at which to run ls. i.e -m 3 would list all files/directories at a depth of 3 from the LTO tape top directory.

retokromer commented 8 years ago

@BleakleyMcD @dericed Can this be closed? It's approaching its first anniversary...

BleakleyMcD commented 8 years ago

Yep!