Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Location
    UK
    Posts
    3

    Post Filename case within .tar archives

    Hi,

    I've uploaded a .tar archive for you to look at (had to zip it to allow upload) which contains two files varying by case - bc.txt and BC.txt.

    Comparing case.tar with itself or another directory using BC 3.3.4 - build 14431, and maybe other builds, somehow loses one of the files during its untar operation.

    You can see from the console session below that tar extract works OK regardless of the "--(no-)ignore-case" options.

    Code:
    dave@K-Matrix $ ls -l  case
    ls: cannot access case: No such file or directory
    
    dave@K-Matrix $ tar --no-ignore-case -xvf case.tar
    case/
    case/bc.txt
    case/BC.txt
    
    dave@K-Matrix $ ls -l  case
    total 0
    -rw-rw-r-- 1 dave dave 0 2012-04-13 15:40 bc.txt
    -rw-rw-r-- 1 dave dave 0 2012-04-13 15:40 BC.txt
    
    dave@K-Matrix $ rm -r case
    
    dave@K-Matrix $ ls -l  case
    ls: cannot access case: No such file or directory
    
    dave@K-Matrix $ tar --ignore-case -xvf case.tar
    case/
    case/bc.txt
    case/BC.txt
    
    dave@K-Matrix $ ls -l  case
    total 0
    -rw-rw-r-- 1 dave dave 0 2012-04-13 15:40 bc.txt
    -rw-rw-r-- 1 dave dave 0 2012-04-13 15:40 BC.txt
    
    dave@K-Matrix $ rm -r case
    
    dave@K-Matrix $

    Dave
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    7,738

    Default

    Thanks for the report. We'll look into this. In the meantime, it is probably best to extract the tar to your hdd as a folder, then compare the extracted files (which should handle the multiple files of different case).
    Aaron P Scooter Software

  3. #3
    Join Date
    Mar 2004
    Location
    UK
    Posts
    3

    Default

    Quote Originally Posted by Aaron View Post
    Thanks for the report. We'll look into this. In the meantime, it is probably best to extract the tar to your hdd as a folder, then compare the extracted files (which should handle the multiple files of different case).
    Thanks, Aaaron.
    Yes, I read the the threads about case sensitivity and BC handles it as I'd expect with normal folders.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •