smokisalmon
2013-10-10 13:57:28 UTC
Hi
I tried now for a couple of hours to mirror a few directories out of a huge one.
there are thousands of files and hunderts of directories with all possible
names.
But I just want to have the directories at /a/b/ which are created in the
last 7 days
--newer-than=now-7days
and which are starting with "BLA.D"followed by at least 4 digest
e.g. /a/b/BLA.D1234
But I need the content of these dirs completly....
Therefore my -include filter was
--include ^/BLA.D[0-9][0-9][0-9][0-9]/.*$
-->
mirror --delete --no-empty-dirs --only-newer --include
^/a/b/BLA.D[0-9][0-9][0-9][0-9] --newer-than=now-7days --verbose=3 ./a/b/
./a/b/
but it doesnt work at all. The result directory is completly empty.
What I did wrong ?
smokisalmon
I tried now for a couple of hours to mirror a few directories out of a huge one.
there are thousands of files and hunderts of directories with all possible
names.
But I just want to have the directories at /a/b/ which are created in the
last 7 days
--newer-than=now-7days
and which are starting with "BLA.D"followed by at least 4 digest
e.g. /a/b/BLA.D1234
But I need the content of these dirs completly....
Therefore my -include filter was
--include ^/BLA.D[0-9][0-9][0-9][0-9]/.*$
-->
mirror --delete --no-empty-dirs --only-newer --include
^/a/b/BLA.D[0-9][0-9][0-9][0-9] --newer-than=now-7days --verbose=3 ./a/b/
./a/b/
but it doesnt work at all. The result directory is completly empty.
What I did wrong ?
smokisalmon