Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

directive syntax 1

Status
Not open for further replies.

new2me

Technical User
Mar 12, 2004
176
CA
I need to backup 1 or 2 specific directories and skip everything else on the drive. Try the following syntax and did not work.

<< E:\ >>
+skip: *

<< E:\dir1 >>
allow

<< E:\dir2 >>
allow

Thank-you in advance!
 
btw, I also tried

<< E:\ >>
+skip: *

<< E:\dir1 >>
forget

<< E:\dir2 >>
forget
 
If you in general want to skip a whole drive, this is not so easy. The problem is that you skip top down. Consequently, NW will not even proceed to the subdirectories.

For an easy solution, the best method would be
- move all unwanted files in a subdirectory
- Setup a directive like this:
<< "E:\unwanted" >>
+skip: *
<< "E:\wanted_1" >>
+always: *
<< "E:\wanted_2" >>
+always: *

Also be aware that you must quotes on Windows directories.
 
good idea I will try that... thanks again 605
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top