[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Format of block output (-vR option) when non-ascii chars in filename

From: Swami Kevala
Subject: Format of block output (-vR option) when non-ascii chars in filename
Date: Fri, 2 Jul 2021 14:30:19 +0530


We are using tar (with --format=posix) to write data to tape. We use the -cvR option to output the block offsets while writing, which we parse and store in a database (so we can fast seek to files)

When non-ascii characters are used in the filename we observe that the characters are output in octal (escaped by a "\"). Can we rely on this assumption being correct?


tar -cv -b512 -R -f sample.tar test-emoji🙏.mxf 

block 0: test-emoji\360\237\231\217.mxf

Kind Regards
Swami Kevala

- 9442504660

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The Organisation accepts no liability for any damage caused by any virus transmitted by this email.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]