Results 1 to 13 of 13

Thread: FreeArc usability questions

  1. #1
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    FreeArc usability questions

    Hello,
    Does freearc's directory exclusion work? Unless I am missing something, I couldn't get it to work.

    See below:

    Code:
    C:\local>mkdir test
    
    C:\local>cd test
    
    
    C:\local\test>mkdir a
    
    
    C:\local\test>cd a
    
    
    C:\local\test\a>touch foo.txt
    
    
    C:\local\test\a>cd ..
    
    
    C:\local\test>cd ..
    
    
    C:\local>Arc.exe a -m1 -xa\* local C:\local\test
    FreeArc 0.666 creating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK
    
    
    C:\local>del local.arc
    
    
    C:\local>Arc.exe a -m1 -xlocal\test\* local C:\local\test
    FreeArc 0.666 creating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK
    
    C:\local>Arc.exe l local.arc
    FreeArc 0.666 listing archive: local.arc
    Listing archive: local.arc
    Date/time                  Size Filename
    ----------------------------------------
    2013-07-10 16:17:01       -dir- local\test
    2013-07-10 16:17:13       -dir- local\test\a
    2013-07-10 16:17:13           0 local\test\a\foo.txt
    ----------------------------------------
    3 files, 0 bytes, 4 compressed
    All OK
    
    
    
    C:\local>
    Any ideas would be appreciated!

  2. #2
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    try -xa and -xa\

  3. #3
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No dice!

    C:\local>Arc.exe a -m1 -xa local C:\local\test
    FreeArc 0.666 creating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>del local.arc


    C:\local>Arc.exe a -m1 -xa\ local C:\local\test
    FreeArc 0.666 creating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>del local.arc


    C:\local>Arc.exe a -m1 -xa -xa\ local C:\local\test
    FreeArc 0.666 creating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>

  4. #4
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    -xC:\local\test\a

  5. #5
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No luck!

    C:\local>Arc.exe a -m1 -xC:\local\test\a local C:\local\test
    FreeArc 0.666 updating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>

  6. #6
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    -xC:\local\test\a\

  7. #7
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nope -- bug?

    C:\local>Arc.exe a -m1 -xC:\local\test\a\ local C:\local\test
    FreeArc 0.666 updating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>

  8. #8
    Programmer Bulat Ziganshin's Avatar
    Join Date
    Mar 2007
    Location
    Uzbekistan
    Posts
    4,497
    Thanks
    733
    Thanked 659 Times in 354 Posts
    arc create a -xsrc\* -dpC:\Testing\fsbench-0.13.3_Kaze -r
    arc create a -xC:\Testing\fsbench-0.13.3_Kaze\src\* C:\Testing\fsbench-0.13.3_Kaze
    Last edited by Bulat Ziganshin; 11th July 2013 at 00:50.

  9. #9
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, that worked. I am pretty sure I tried that before but without "create", so the directory exclusion is not reflecting in the existing archive. If I tried the command without create but with --sync, it seemed to do the right thing.

    C:\local>del local.arc


    C:\local>Arc.exe a -m1 local C:\local\test
    FreeArc 0.666 creating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: cpu 0.06 secs, real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>Arc.exe a -m1 -xC:\local\test\a\* local C:\local\test
    FreeArc 0.666 updating archive: local.arc
    Compressed 3 files, 0 => 4 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>Arc.exe a -m1 --sync -xC:\local\test\a\* local C:\local\test
    FreeArc 0.666 updating archive: local.arc
    Compressed 2 files, 0 => 0 bytes. Ratio 0.0%
    Compression time: real 0.01 secs. Speed 0 kB/s
    All OK


    C:\local>

  10. #10
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I noticed something else. Updating an archive with --sync is relatively slower than creating a new archive from the scratch. I did repeat my test for a good 100+ times and the results are pretty consistent. Even creating a new file inside the archive directory will cause it to slow down. It is fairly easy to reproduce too -- see the steps below.

    Any ideas to quickly update an archive without recompressing the unmodified files?

    C:\local>timethis test-arc.bat


    TimeThis : Command Line : test-arc.bat
    TimeThis : Start Time : Wed Jul 10 18:52:46 2013




    C:\local>C:\local\Arc.exe a -m1 --sync C:\Users\wintest4\AppData\Local\Temp\testS C:\local\test
    FreeArc 0.666 creating archive: C:\Users\wintest4\AppData\Local\Temp\testS.arc
    Compressed 657 files, 297,032,632 => 97,274,365 bytes. Ratio 32.7%
    Compression time: cpu 6.54 secs, real 4.17 secs. Speed 71,307 kB/s
    All OK


    TimeThis : Command Line : test-arc.bat
    TimeThis : Start Time : Wed Jul 10 18:52:46 2013
    TimeThis : End Time : Wed Jul 10 18:52:50 2013
    TimeThis : Elapsed Time : 00:00:04.400


    C:\local>touch C:\local\test\foo.txt


    C:\local>timethis test-arc.bat


    TimeThis : Command Line : test-arc.bat
    TimeThis : Start Time : Wed Jul 10 18:53:03 2013




    C:\local>C:\local\Arc.exe a -m1 --sync C:\Users\wintest4\AppData\Local\Temp\testS C:\local\test
    FreeArc 0.666 updating archive: C:\Users\wintest4\AppData\Local\Temp\testS.arc
    Compressed 658 files, 297,032,632 => 97,274,365 bytes. Ratio 32.7%
    Compression time: cpu 9.03 secs, real 5.63 secs. Speed 52,739 kB/s
    All OK


    TimeThis : Command Line : test-arc.bat
    TimeThis : Start Time : Wed Jul 10 18:53:03 2013
    TimeThis : End Time : Wed Jul 10 18:53:09 2013
    TimeThis : Elapsed Time : 00:00:05.866


    C:\local>

  11. #11
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arc failing with junction/reparse points that have ACE set to DENY for EveryOne

    It seems that Arc is failing to read junction points when the ACE for the junction point has EveryOne set to DENY, but the target for the junction point can still be queried (see below).

    Code:
    C:\>set temp
    TEMP=C:\Users\USERNAME\LOCALS~1\Temp
    
    
    C:\>arc.exe create -m1 %TEMP%\test C:\local\test
    FreeArc 0.666 creating archive: C:\Users\USERNAME\LOCALS~1\Temp\test.arc
    Compressing 1,108 files, 345,721,236 bytes. Processed   0.0%arc.exe: C:\Users\USERNAME\LOCALS~1\Temp: mkdir: already exists (File exists)
    
    
    C:\>junction "C:\users\USERNAME\Local Settings"
    
    
    Junction v1.06 - Windows junction creator and reparse point viewer
    Copyright (C) 2000-2010 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    
    C:\users\USERNAME\Local Settings: JUNCTION
       Print Name     : C:\Users\USERNAME\AppData\Local
       Substitute Name: C:\Users\USERNAME\AppData\Local
    
    
    C:\>
    Users who migrated from XP to Windows Vista/7 have %TEMP% set to C:\Users\USERNAME\LOCALS~1\Temp and the transition is supposed to be smooth for applications as the NTFS reparse points are supposed to redirect the application to the target location. It is not clear to me why Arc is failing to write to %TEMP% though. Thought I will report the issue.

  12. #12
    Member
    Join Date
    Jul 2013
    Location
    United States
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Case sensitivity

    I noticed that -ap is case sensitive (I haven't tested others though) and Windows is case insensitive.

    Code:
    C:\local>arc create Test C:\local\Test
    FreeArc 0.666 creating archive: Test.arc
    Compressed 2 files, 0 => 30 bytes. Ratio 0.0%
    Compression time: cpu 0.05 secs, real 0.06 secs. Speed 0 kB/s
    All OK
    
    
    C:\local>arc x Test -aplocal\test -dpC:\local\test.new
    FreeArc 0.666 extracting archive: Test.arc
    Extracted 0 files, 0 => 0 bytes. Ratio 0.0%
    Extraction time: real 0.01 secs. Speed 0 kB/s
    All OK
    
    
    C:\local>arc x Test -aplocal\Test -dpC:\local\test.new
    FreeArc 0.666 extracting archive: Test.arc
    Extracted 1 file, 0 => 0 bytes. Ratio 0.0%
    Extraction time: real 0.02 secs. Speed 0 kB/s
    All OK
    
    
    C:\local>
    Can this be fixed please?

    Thanks!

  13. #13
    Member
    Join Date
    Sep 2011
    Location
    uk
    Posts
    237
    Thanks
    186
    Thanked 16 Times in 11 Posts
    Don't think Bulat's working on freearc - 0.70 still not out- seems to be on srep 100%! And this, as already notified in freearc thread?
    '
    freearc error or feature? latest version beta 12 dec 2012


    arc e arc_name*.* *.* exits with errorlevel=0 (not 1) if there are no files matching arc_name*.*
    '
    Works ok- ie returns 1 if there is no wild card in arc name.

    John

Similar Threads

  1. Greetings, Questions, and Benchmarks
    By musicdemon in forum Data Compression
    Replies: 4
    Last Post: 8th January 2012, 22:45
  2. Questions about compression
    By 0011110100101001 in forum Data Compression
    Replies: 12
    Last Post: 8th December 2011, 02:31
  3. A recruit's compressor and some questions
    By Fu Siyuan in forum Data Compression
    Replies: 122
    Last Post: 23rd September 2009, 18:35
  4. Bunch of stupid questions
    By chornobyl in forum Data Compression
    Replies: 28
    Last Post: 6th December 2008, 18:26
  5. Data Distribution Questions.
    By Tribune in forum Data Compression
    Replies: 13
    Last Post: 25th June 2008, 18:09

Posting Permissions

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