Question Locked

How to copy files from windows to linux with permissions

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have recently installed a CISCO NSS2000 device on my network and also joined to my A/D. I created some shares on the NSS2000 and gave access to specific users. Now, I want to move a large amount of data from a Windows file server (win XP machine) onto this device. I can move the files with copy/paste but all the permissions are lost, and nobody can access them. Is there any other way to transfer the data and keep the permissions?

2 replies

by jeremyrem

GUI's for linux - GADMIN RSYNC (as part of Gadmintools), Grsync and QtdSync (since v0.6.11)

GUI's for windows - Windows GUIs with client and server support are DeltaCopy, QtdSync or Syncrify

The basic usage to synchronize two folders looks like
rsync -r -t -v /source_folder /destination_folder

This overwrites existing files on the destination_folder having the same name as files in source_folder. The -r option allows for recursion into subfolders. If you want to preserve newer existing files from overwriting, you can type

rsync -r -t -v -u /source_folder /destination_folder

or if you want to backup existing files before overwriting them

rsync -r -t -v -b /source_folder /destination_folder

This discussion is closed to new replies.