LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
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
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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



Similar Threads
Thread Thread Starter Forum Replies Last Post
tshark gives "permission denied" writing to (any) file in home dir. kr0m3 Linux - Networking 6 10-08-2019 06:45 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration