Quote:
...
I'd then like to make a bash script that would check the other directories daily for newly added material ...
|
last time i used to do this:
create a hidden file (or any regular file) by touching it in the directory you want to check for new files.
eg touch .dummy
This will create a dummy file with a timestamp
Then i will use the find command with the -newer switch to check for new files created after .dummy.
you can give this a try.
Quote:
...
create a link from that material in the new additions folder and then delete those links after a week or so...
...
|
you could use -exec of the find command (or xargs) to create links after finding newer files..
Then to delete those links after a week, you can use -mtime of the find command.
just some suggestions.