Searching backup tool which allows pattern matching for the path (!) and ZIP compression adding

U

Ulf Meinhardt

Well, I know, there are hundreds of backup tools out on the market for backing up certain parts of my data.

However after having tested dozends of them I had to notice that ALL of them allow (at most) only filtering
of filenames but not pathes.

Example: they allow to backup all *.pdf files in my directory tree.
But I found no tool which offers: Backup all files which contain *log* in the path and/or file
like in

D:\project1\log\data\2005\mydata1.txt
or
D:\test\mylog_september\first.dat

Does someone know such a tool with this "advanced" filtering?

Furthermore it should be able to put it in a target zip archive. If target zip archve already exist it should add it.

Ulf
 
P

Pegasus \(MVP\)

Ulf Meinhardt said:
Well, I know, there are hundreds of backup tools out on the market for
backing up certain parts of my data.
However after having tested dozends of them I had to notice that ALL of
them allow (at most) only filtering
of filenames but not pathes.

Example: they allow to backup all *.pdf files in my directory tree.
But I found no tool which offers: Backup all files which contain *log* in the path and/or file
like in

D:\project1\log\data\2005\mydata1.txt
or
D:\test\mylog_september\first.dat

Does someone know such a tool with this "advanced" filtering?

Furthermore it should be able to put it in a target zip archive. If target
zip archve already exist it should add it.

You can roll your own with this batch file:

@echo off
set string=log
dir /s /b | find /i "%string%" > c:\files.lst
for /F "tokens=*" %%* in (c:\files.lst) do zip "x:\Archives\MyArchive.zip"
"%%*"
 
P

Pegasus \(MVP\)

Ulf Meinhardt said:
Well, I know, there are hundreds of backup tools out on the market for
backing up certain parts of my data.
However after having tested dozends of them I had to notice that ALL of
them allow (at most) only filtering
of filenames but not pathes.

Example: they allow to backup all *.pdf files in my directory tree.
But I found no tool which offers: Backup all files which contain *log* in the path and/or file
like in

D:\project1\log\data\2005\mydata1.txt
or
D:\test\mylog_september\first.dat

Does someone know such a tool with this "advanced" filtering?

Furthermore it should be able to put it in a target zip archive. If target
zip archve already exist it should add it.

You can roll your own with this batch file:

@echo off
set string=log
dir /s /b | find /i "%string%" > c:\files.lst
for /F "tokens=*" %%* in (c:\files.lst) do zip "x:\Archives\MyArchive.zip"
"%%*"
 
P

Pegasus [MVP]

Ulf Meinhardt said:
Well, I know, there are hundreds of backup tools out on the market for
backing up certain parts of my data.

However after having tested dozends of them I had to notice that ALL of
them allow (at most) only filtering
of filenames but not pathes.

Example: they allow to backup all *.pdf files in my directory tree.
But I found no tool which offers: Backup all files which contain *log* in
the path and/or file
like in

D:\project1\log\data\2005\mydata1.txt
or
D:\test\mylog_september\first.dat

Does someone know such a tool with this "advanced" filtering?

Furthermore it should be able to put it in a target zip archive. If target
zip archve already exist it should add it.

Ulf

You can roll your own with this batch file:

@echo off
set string=log
dir /s /b | find /i "%string%" > c:\files.lst
for /F "tokens=*" %%* in (c:\files.lst) do zip "x:\Archives\MyArchive.zip"
"%%*"

(There is something strange with your post - I cannot see my replies
to it. If this third attempt does not work then I will let it go.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top