bash - Script file for transferring a specific file to another folder -
i have daily file transfer between folders update wms systems delivery schedules. file .csv file , has file named mk_16-may-2013
. file comes across date updated , 1 day ahead of todays date. transfer file directory.
so in essence
mk_16-may-2013
directory \\dpg-lph-wms01\atms\live\interface\ups121\backup
to directory \\354839-dplv-rd1\roadnet\roadnet_output_for_atms
the directories should begin double slash
sounds easy me have no idea of how write script files!
thanks in advance of help
you can use following bash script transfer files 1 directory another. let's first directory d1/
, second directory d2/
, can do:
cp d1/. d2/ -r
don't forget dot (.) after first directory that's needed.
Comments
Post a Comment