When testing out DART I discovered that the *.tar files generated cannot be opened by Archive_Tar.
You get the directories (in this case data), and the file in data but none of the top-level files.
So a bag that when un-tarred with tar -xf looks like
> ls -l ~/.dart/bags/An\ Example\ Bag
total 40
-rw-r--r-- 1 whikloj staff 77 26 Feb 14:58 aptrust-info.txt
-rw-r--r-- 1 whikloj staff 350 26 Feb 14:58 bag-info.txt
-rw-r--r-- 1 whikloj staff 54 26 Feb 14:58 bagit.txt
drwxr-xr-x 3 whikloj staff 96 26 Feb 14:58 data
-rw-r--r-- 1 whikloj staff 46 26 Feb 14:58 manifest-md5.txt
-rw-r--r-- 1 whikloj staff 317 26 Feb 14:58 tagmanifest-sha256.txt
> ls -l ~/.dart/bags/An\ Example\ Bag/data
total 592504
-rw-r--r-- 1 whikloj staff 303360153 7 Feb 15:09 PDF.pdf
ends up like
> ls -l Tx0GFf
total 622720
drwxr-xr-x 3 whikloj staff 96 26 Feb 15:14 An Example Bag
-rw-r--r-- 1 whikloj staff 303360153 7 Feb 15:09 PaxHeader
> ls -l Tx0GFf/An\ Example\ Bag
total 0
drwxr-xr-x 2 whikloj staff 64 26 Feb 15:14 data
> ls -l Tx0GFf/An\ Example\ Bag/data
When testing out DART I discovered that the
*.tar
files generated cannot be opened by Archive_Tar.You get the directories (in this case
data
), and the file in data but none of the top-level files.So a bag that when un-tarred with
tar -xf
looks likeends up like