Does anyone know if it's possible to list the first N items of a tape using cpio -t? Depending on the day of the backup the relative path may be "/" down versus "/docs".
It would be great to list the first 10 items without spinning through the entire tape. Also, I'd like to script this, so it wouldn't be required to CTRL-C to end the process after the tape content starts spewing out.
Any thoughts?
Thanks,
Ethan
It would be great to list the first 10 items without spinning through the entire tape. Also, I'd like to script this, so it wouldn't be required to CTRL-C to end the process after the tape content starts spewing out.
Any thoughts?
Thanks,
Ethan