help-tar
[Top][All Lists]
Advanced

[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

Hi,

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?

Example:

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

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

Kind Regards
Swami Kevala


--
- 9442504660


https://isha.sadhguru.org/events/monthly/sadhguru-satsang?utm_campaign=fmf&utm_medium=email&utm_source=email_signature&utm_content=eng

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. www.ishafoundation.org
reply via email to

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