Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
thnks for rply..
yeah its good... but cron is for linux/unix. not for windows.
what should i do for windows? i mean rsync from windows command prompt
thats y i installed cygwin.. but get solution yet.. tried many times.
Is there any way rsync or copy data from windows to linux through cygwin??
yeah it can be possible through task schedular . i tested there is an option on windows to run .exe files.
nw i have to create .exe files for rsync through cygwin. how to make .exe files.. m confused..
yup virtual machine is a gud idea but i cant use dat.. dont have permission actually.
if u dont have any problem... or if u have any idea to create .exe file and where to run, then let me knw plzz.. its urgent
You don't need task scheduler, you don't need to create arbitrary .exe files, you don't need to do any of that
Install cron on cygwin, get it running as a service, and then use crontab -e to add a scheduled command or script like you would on any Linux system.
The last time I needed rsync on Windows, it seemed that Cygwin and related ports were too invasive. I ended up using WinSCP's scripting feature and the synchronize command. It used more bandwidth than rsync, but it was easy, reliable, and stable.
i want to copy my data ( C or D drive) from windows client to linux server, nd run rsync from windows only.
Currently am using cygwin software which is installed on windows.
Actually want to run rsync silently or quietly.. is this possible??
have you tried WinSCP?
You can just drag and drop to copy files between Linux and Windows.
thank u for the reply
sory for the inconvience
yeah i know.. can be possible via WinSCP
but i cannot use that because i have an order to use cygwin only.
and automatically rsync run via cygwin in background process without showing gui. so that at the time of rsyncing noone shld knows, we r using cygwin.
cygwin is a software used to run linux commands from windows.
.sh is not a format, but an extension. Linux and cygwin does not really care about that, it is used by humans to recognize file types easier (Windows uses extension). So using .sh is ok, that is the usual way.
You need to check the rsync command yourself if that works as expected. You will need to write the same command into your script/file (as it was tested in a cygwin windows).
from my side yes. You need to make that script executable (chmod +x <script>) and you can test it too. I suggest you to put it into another directory, inside the cygwin structure, but it should work in that dir too.