Which application allocated data before copy to reduce fragmentation ?

Discussion in 'Application Software' started by mdfm, Jan 12, 2016.

  1. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    Which application allocated data before copy to reduce fragmentation ?

    When copying large chuck of photo jpeg using default windows 7 copy to a backup hard disk , I gets full of 12% fragmentation after analyze the backup hard disk.

    Hoping for expert user recommend a technique or a application which allocated the file sector before copying or moving.
    A good sync application will do too.
    :worthy:
     
  2. mdfm

    mdfm MDL Novice

    Apr 4, 2010
    26
    0
    0
    Awaits for assistant :worthy:
     
  3. Verified

    Verified MDL Novice

    Jul 7, 2015
    5
    2
    0
    #3 Verified, Mar 19, 2016
    Last edited by a moderator: Apr 20, 2017
    I use robocopy to avoid fragmentation. The first run creates a directory structure like your source tree (with all jpegs as zero bytes files). The second run replaces those zero byte files with the actual data.

    It will create a directory/file layout like this:
    DDDDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    instead of:
    DFFFFFFFFFFDFFFFFFDFFFFFFFFFDFFFFFFFFDFFFFFFFFFFFFDFFFFFF

    Code:
    robocopy /np /r:0 /w:0 /e /create <source-path> <dest-path>
    robocopy /np /r:0 /w:0 /e         <source-path> <dest-path>