LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
LinkBack Search this Thread
Old 03-29-2010, 10:09 PM   #1
Galib
Member
 
Registered: Mar 2009
Location: $HOME
Distribution: Slackware64
Posts: 69

Rep: Reputation: 17
Cool sync "working" dir with all computers


Is it possible to have a folder that is stored on my server mounted via smb etc, that copies over any file that has been updated on my machine? I believe I'll prob have to learn some scripting to accomplish this, but here is what I want to do.

I have three computers, a laptop for school, a desktop at home and a server box sitting around for hosting files (I have access to this from anywhere). I have a folder for all of my school work, we'll call it "school". This folder is present on my laptop and desktop. Sometimes I work on my laptop at school and have new files created / updated. Other times, I work on my desktop and alter files / create new ones there. What I was thinking was using my file server as a repository. After I am finished working on one machine, I want to upload all the new files/folders to the server, so that when I work on the other machine, I can run a quick "fetch files" and being to work off of where I left of. That way, I don't have to copy files over via email or my network. Also, it's very helpful to have the updated files always stored on my server because sometimes I need to grab a file but don't have access to any of my computers.

Any suggestions to where to start and how I'd go about this?

Thanks!
 
Old 03-29-2010, 10:35 PM   #2
Galib
Member
 
Registered: Mar 2009
Location: $HOME
Distribution: Slackware64
Posts: 69

Original Poster
Rep: Reputation: 17
Or better idea... would it be possible to work off of a server drive from any location? That way I don't have to worry about copying files etc, just save / edit directly from that one location?
 
Old 03-30-2010, 12:53 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,093

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
For local copies, you could use your server as an NFS server.
Remote access would be better through ssh/scp.
 
Old 04-01-2010, 11:04 AM   #4
Galib
Member
 
Registered: Mar 2009
Location: $HOME
Distribution: Slackware64
Posts: 69

Original Poster
Rep: Reputation: 17
Thanks for your help. I was trying to setup HFS on my server, but my router could not properly forward the port as it seemed...
 
Old 04-01-2010, 11:42 AM   #5
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
HFS ?

I think sshfs would be a much better idea
 
  


Reply

Tags
computers, folders, linux, multiple, slackware, sync, windows


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tshark gives "permission denied" writing to (any) file in home dir. kr0m3 Linux - Networking 2 12-16-2009 06:40 AM
My "expect" script is not working... Won't "send" commands... edomingox Programming 4 04-02-2009 03:25 PM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
RAID 5 with mdadm "spare" and "active sync" confusion ufmale Linux - Server 1 12-08-2007 10:31 AM
Kdevelop: Changing my programs default "make install" dir DeTHZiT Programming 0 09-26-2004 01:06 PM


All times are GMT -5. The time now is 07:34 AM.

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