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! |
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.
|
Why use Krusader? I would write my own script for this... Maybe just because I like scripting :)
|
Quote:
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. :) |
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. |
Quote:
|
All times are GMT -5. The time now is 06:05 PM. |