LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-27-2006, 10:25 AM   #1
DoctorWynn
Member
 
Registered: Nov 2005
Distribution: OpenSuSe 10.1
Posts: 63

Rep: Reputation: 15
Anyone use Krusader?


I'm trying to use Krusader to compare and synch files between my website on an ftp server, and my local public_html folder. What I want Krusader to do, is copy from the server to my local machine, only the files that don't exist on my local machine, or the ones that have same file names, but different dates.

Problem is, no matter what I try, the compare button always wants to copy EVERY file on the server to my local folder even though the file names, dates, and sizes are exact. I don't want it to do this every single time, it will take forever to complete. I want to use it weekly or so to keep my local copy of my site sync'd with my live website.

Anyone have an idea how I can set it up to work this way? It's gotta be possible, but I can't figure it out and it's starting to frustrate me.

Thanx for any help!
 
Old 05-27-2006, 10:46 AM   #2
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Never tried much with Krusader but you should be able to do this from command line using either cp command with the -u option or using rsync command. See manpages for details.
 
Old 05-27-2006, 06:21 PM   #3
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
Why use Krusader? I would write my own script for this... Maybe just because I like scripting
 
Old 05-27-2006, 07:15 PM   #4
DoctorWynn
Member
 
Registered: Nov 2005
Distribution: OpenSuSe 10.1
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by CrashedAgain
Never tried much with Krusader but you should be able to do this from command line using either cp command with the -u option or using rsync command. See manpages for details.
How to do this with an ftp server? I tried "cp -u ftp.website.com /home/tom/public_html" and "cp -u ftp://website.com /home/tom/public_html" and each one says "cannnot stat ftp.website.com : no such file or directory"


And as for the script option, I will look into that, as I like that idea, but I'm not a linux guru so it will be difficult for me to figure out. Although I have made one in the past, it took me hours to figure out and get right. And all it did was unzip a downloaded file and upload it to my server. So you can see I'm not very good with this stuff which is why I went with krusader to begin with. The gui is my friend.
 
Old 05-27-2006, 08:39 PM   #5
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 32
Perhaps rsync would work. the rsync manpage seems to indicate it will transfer to/from a url destination.
I confess I have not used it much; I ran across it when I was remastering Knoppix disks but I did remember that it would only copy files that needed updating & ignore the rest.
I am also pretty much of a gui user, maybe zahadumy can help you with a script.
 
Old 05-27-2006, 08:53 PM   #6
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
Quote:
Originally Posted by DoctorWynn
And as for the script option, I will look into that, as I like that idea, but I'm not a linux guru so it will be difficult for me to figure out. Although I have made one in the past, it took me hours to figure out and get right. And all it did was unzip a downloaded file and upload it to my server. So you can see I'm not very good with this stuff which is why I went with krusader to begin with. The gui is my friend.
Like CrashedAgain said, I could help you with writing a script, but I waited for you to say if you're interested or not, because I don't like when I'm asking something and other people assume what I want and answer to a question I didn't ask or tell me some stuff I'm not interested in. And also, you said you need an application with a GUI and you're a newbie in scripting... Anyway, one of the reasons I love linux is you can do a lot of things directly from console, unlike Windows where you have to download and install a specific application that does what you need to do... Maybe someone else knows an application for what you need... It's not big deal and I'm pretty sure someone did it before... And btw, if you do a script for that, you can do yourself a GUI in Java or some other programming language
 
  


Reply

Tags
krusader


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba, Krusader: Protocol not supported LordSurvivoR Linux - Networking 6 02-28-2008 01:06 PM
Trying to install Krusader but having problems Tiyogi Fedora 1 08-18-2005 10:03 AM
i got trouble where compiler krusader :( hakuso Linux - Software 2 06-28-2005 11:03 AM
Krusader wonderpun Linux - Software 5 04-13-2005 07:35 AM
Krusader frumenti Linux - Software 6 09-08-2002 04:16 AM


All times are GMT -5. The time now is 03:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration