D
Dan Vesma
Good Morning Group,
I am looking at the possibilities of creating a script that I can run
on my Mac that will scour through the directory structure and copy any
new MS Word Documents into a newly created folder on an External HDD.
I use a naming convention on my documents that does not allow two to
have the same name and it would not need to maintain a directory
structure. If I create a new document in a directory buried somewhere
in the system, I just want it copied to another directory at the end
of the day.
I'm a novice, and my Perl experience is purely on the CGI side of
things. I was hoping that you might be able to give me a bit of an
‘in' on how to start working with files. As I see it, the tasks for
the script are:
1. Create destination directory for all found files
2. Find its way around the directory structure.
3. Filter so that it only looks at Word documents
4. Check date created
5. If date created is today, copy file to destination directory and
move onto the next
It sounds so simple, but I'm sure it can't be.
Any help or advice gladly received.
Thanks,
Dan
I am looking at the possibilities of creating a script that I can run
on my Mac that will scour through the directory structure and copy any
new MS Word Documents into a newly created folder on an External HDD.
I use a naming convention on my documents that does not allow two to
have the same name and it would not need to maintain a directory
structure. If I create a new document in a directory buried somewhere
in the system, I just want it copied to another directory at the end
of the day.
I'm a novice, and my Perl experience is purely on the CGI side of
things. I was hoping that you might be able to give me a bit of an
‘in' on how to start working with files. As I see it, the tasks for
the script are:
1. Create destination directory for all found files
2. Find its way around the directory structure.
3. Filter so that it only looks at Word documents
4. Check date created
5. If date created is today, copy file to destination directory and
move onto the next
It sounds so simple, but I'm sure it can't be.
Any help or advice gladly received.
Thanks,
Dan