beautypg.com

Examples of file-migration commands, Selecting files during the capture phase, Example 1 – Lenovo THINKPAD Z60M User Manual

Page 63: Examples, File-migration, Commands, Selecting, Files, During, Capture

background image

Table

23.

(continued)

Command

Parameter

Description

Example

where

v

is

a

fully

qualified

file

name

or

folder

name.

You

can

use

the

wild

card

character

for

both

file

name

and

folder

name.

v

is

an

optional

command

that

you

can

use

to

select

files

based

on

the

date

when

they

were

created.

is

either

NEWER

or

OLDER.

is

the

baseline

date

in

mm/dd/yyyy

format.

v

Optional

parameter

to

select

files

based

on

their

size.

is

either

LARGER

or

SMALLER.

is

the

file

size

in

MB.

To

unselect

all

matching

files

in

a

specified

directory

For

example:

Example

1

C:\YourWorkFolder

Example

2

C:\YourWorkFolder

OLDER

07/31/2005

Example

3

C:\YourWorkFolder

LARGER

200

Examples

of

file-migration

commands

This

section

contains

examples

of

file-migration

commands.

These

examples

demonstrate

how

to

combine

file-inclusion

and

file-exclusion

commands

to

refine

your

file

selection.

Only

the

file-handling

sections

of

the

command

file

are

shown.

Selecting

files

during

the

capture

phase

This

section

contains

three

examples

of

code

used

to

select

files

during

the

capture

phase.

Example

1

The

following

code

example

selects

all

files

with

a

.doc

extension

(Microsoft

Word

documents)

and

relocates

them

in

the

“d:\My

Documents”

directory.

It

then

excludes

all

files

that

are

in

the

d:\No_Longer_Used

directory.

*:\*.doc/s

d:\My

Documents

r

Chapter

4.

System

Migration

Assistant

customization

57

This manual is related to the following products: