Ubuntu Forums Archive Viewer

Linux script for crontab to schedule move of zip with current date and moved to windo

Archived thread 2407066 from PCLinuxOS. Markdown source: PCLinuxOS/thread_2407066_Linux_script_for_crontab_to_schedule_move_of_zip_w.md

Original URL About this archive
#1

Dear All,

Actually i am looking a script for Linux for crontab to schedule. This script will take .zip file from the folder with current date and moved to Windows network shared folder.

Any suggestion is welcome for the above script.

Thanks & Regards

Nawaz

#2

What have you done so far? What is not working?

#3

Hi, We have created script which will zip the current date file from the folder. Now we want this current zip file to moved to Windows Network Shared folder.

I hope i am able to reply your question if you need any further information please let me know.

Regards Nawaz

#4

In the same command line, you can simply add "mv yourfilefirstplace yourfilesecondplace"