Im new in the community and I want to write script to copy files from one dir to another. Im doing function with parametres
up - copying all content of dir 1 to 2 but im copying only newer files - have latest modification date then 2nd file
commit - same as above but from folder 2 to folder 1
status - showing info about files - if there are same files in 1 dir and 2 dir or what file is newer
I've been searching for this script and found similar but i dunno how to make it working in my case:
http://bashscripts.org/viewtopic.php?t= ... urce+files
As I said Im new in it and Bash is for me like chinesse:P I was programming only in C and C++. Thx for all replies!