XXCOPY
[ Back to Table of Contents ] [ << ] [ >> ]

XXCOPY TECHNICAL BULLETIN #23


From:    Kan Yabumoto           tech@xxcopy.com
To:      XXCOPY user
Subject: The enhanced features of XXCOPY at a glance
Date:    2000-12-06
===============================================================================

Here are some of XXCOPY's enhanced features over Microsoft's XCOPY.

--------------------------------------------------------------------

 1. "Wild-Wildcard" Source Specifier

    XXCOPY c:\windows\*\*cache*\*\*.jpg  c:\myimages\

    Note the number and the positions of asterisks in the source.

--------------------------------------------------------------------

 2. Exclusion switch (file template)

    XXCOPY c:\*\*cache*\*  \dst\   /X*.gif /X*.bmp

    /X allows you to exclude files that match the template.

--------------------------------------------------------------------

 3. Exclusion switch (directory template)

    XXCOPY c:\  \dst\ /S  /Xtemp*\*\*.gif /X*\internet\*\*.mp3

    /X allows you to specify a group of directories and/or files
    that match quite a variety of directory/file patterns.

--------------------------------------------------------------------

 4. Inclusion switch (file template only)

    XXCOPY c:\*.img   \dst  /S /IN*.bmp /IN*.gif /IN*.bmp

    /IN allows you to specify an "include" filespec (alternate
    filename pattern).

--------------------------------------------------------------------

 5. Limit by file size

    XXCOPY c:\   d:\backup\  /S /SZ:-10000000

    This example copyies files whose size is 10MB or less.

--------------------------------------------------------------------

 6. Select files by age

    XXCOPY c:\   d:\backup\  /S /DA#5

    This command copies files that were made within 5 days

--------------------------------------------------------------------

 7. Select files by year/month/date

    XXCOPY c:\   d:\backup\  /S  /DA:2000-10

    This command copies files that were made in October, 2000 or later.

--------------------------------------------------------------------

 8. Select the range of file date

    XXCOPY c:\   d:\backup\  /S  /DA:1999-1-1  /DB:1999-6-30

    The file range of Date betwen Jan 1 and Jun 30 of 1999.
    /DA (On-or-After) and /DB (On-or-Before) bracket the date range.

--------------------------------------------------------------------

 9. Alternative to DELTREE

    XXCOPY "c:\My Documents\*\*.mp3" /RMDIR /DB:1999-12-31

    XXCOPY is not just for file copy.  The rich set of file selection
    switches can be applied to file deletion as well.

--------------------------------------------------------------------

10. Complex file search for a listing of custom output format.

    XXCOPY c:\windows\*\*cache*\*\my*\*\*.jpg  /LZDTL

    The /L switch offers a search and list capability with format control.
    This example lists Z(file size), D(ate), T(ime), and L(ongname).

--------------------------------------------------------------------

This list gives you only ten relatively straightforward switches to
illustrate the power of XXCOPY.  The over 200 enhanced switches in
XXCOPY can be combined for millions of combinations to fit your
needs.  For a complete list of switches, see XXTB #01.



© Copyright 2016 Pixelab All rights reserved.

[ XXCOPY Home ] [ Table of Contents ] [ << ] [ >> ]

Join the XXCOPY group