Last active
December 12, 2015 04:38
-
-
Save databus23/4715855 to your computer and use it in GitHub Desktop.
The gem archive-tar-minitar can't unpack tars with paths that contain more then 100 characters.
(This shell command where executed on OSX)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ touch a_very_very_very_very_very_very_very_very_very_very_very_very_long_filename_longer_then_100_characters.rb | |
$ tar -cf test.tar a_very_very_very_very_very_very_very_very_very_very_very_very_long_filename_longer_then_100_characters.rb | |
$ ruby -r archive/tar/minitar -e 'Archive::Tar::Minitar.unpack("test.tar","output/")' | |
$ ls output/ | |
PaxHeader | |
a_very_very_very_very_very_very_very_very_very_very_very_very_long_filename_longer_then_100_charact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment