Hi there,
I am fairly new in linux and got a couple questions regarding scripting. I don't know much about it at all.
What I need it to do is run a cron job on the machine every night around 8:00 PM.
This is what I'd like it to do:
- take two files from a commonly accessible area: x.file + y.file
- archive and compress the two: x.file + y.file ==> x+y.tar.gz
- name the new file with a date in it: x+y_130706.tar.gz
- ftp the file to a remote location:
ftp://remote.location.com/x+y_130706.tar.gz
I just don't know how to write the script for that. I can't imagine it being too difficult. And I wouldn't mind learning to script some things myself.
I am running Fedora Core 5 on the system, and was wondering what cron program I could use as well.
Thanks.