Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2007
i have mounted a folder to a windows share.
mount -t cifs -o username=xxxxx,password=xxxxx //xxx.xxx.xx.xx/windowspath/ /path/to/linux/folder
however i am unable to view the files in the linux folder now. and the files that are present in the folder are not transfering to the windows path . why is that the case.
this is the setup i am trying to achieve. Each time a file is created in the linux folder it should automatically be transfered to the windows folder.
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
When you use a directory with files or sub-directories as a mount point, that data will not be visible until the remote share is unmounted. In any case, what you are trying to do doesn't work that way. The only means I know of to automatically mirror data placed in one directory to another (remote or not) is by using something like the inotify sub-system, where you can have it configured to trigger a copy when a file is created, updated, or moved in a specific directory space.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!