Re: how to copy files

2017-05-20 Thread Dejan Jocic
On 20-05-17, Felix Dietrich wrote: > Dejan Jocic writes: > > > rsync -av /path/to/original/folder /path/to/backup > > > > Notice that there is no need for those / on the end of paths. > > Rsync actually treats a trailing newline on the source path specially; > quoted from the man page: > >

Re: how to copy files

2017-05-20 Thread Felix Dietrich
Dejan Jocic writes: > rsync -av /path/to/original/folder /path/to/backup > > Notice that there is no need for those / on the end of paths. Rsync actually treats a trailing newline on the source path specially; quoted from the man page: A trailing slash on the source changes this behavior

Re: (solved)Re: how to copy files

2017-05-16 Thread Joe
On Tue, 16 May 2017 22:08:35 +0200 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, May 16, 2017 at 05:27:24PM +0100, Joe wrote: > > On Tue, 16 May 2017 19:18:16 +0800 > > Long Wind wrote: > > > > > Thank Lisi Reisz, Greg Wooledge and Dejan Jocic! > > > > > > I have tr

Re: (solved)Re: how to copy files

2017-05-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, May 16, 2017 at 05:27:24PM +0100, Joe wrote: > On Tue, 16 May 2017 19:18:16 +0800 > Long Wind wrote: > > > Thank Lisi Reisz, Greg Wooledge and Dejan Jocic! > > > > I have try -ar options, it displays some files names > > I am not sure weth

Re: (solved)Re: how to copy files

2017-05-16 Thread Joe
On Tue, 16 May 2017 19:18:16 +0800 Long Wind wrote: > Thank Lisi Reisz, Greg Wooledge and Dejan Jocic! > > I have try -ar options, it displays some files names > I am not sure wether it check files or copy files > and it complains of ownership (because of vfat?) > > clear confusion above take

(solved)Re: how to copy files

2017-05-16 Thread Long Wind
Thank Lisi Reisz, Greg Wooledge and Dejan Jocic! I have try -ar options, it displays some files names I am not sure wether it check files or copy files and it complains of ownership (because of vfat?) clear confusion above take time and effort I decide I can write a java program that list two f

Re: how to copy files

2017-05-15 Thread Greg Wooledge
On Mon, May 15, 2017 at 04:57:35AM +0800, Long Wind wrote: > I have a folder in hard drive and a backup of it is made in a USB disk What type of file system is on the USB disk? For backing up files from a Unix file system, you really want a Unix file system on the target device, not a FAT32 or NT

Re: how to copy files

2017-05-15 Thread Dejan Jocic
On 15-05-17, Long Wind wrote: > archive just means that? > Thank Dan Ritter! > l will try it later on. What you probably want is: rsync -av /path/to/original/folder /path/to/backup With this command on your backup rsync will make folder named as folder in your original path under backup. Notice

Re: how to copy files

2017-05-14 Thread Long Wind
archive just means that? Thank Dan Ritter! l will try it later on.

Re: how to copy files

2017-05-14 Thread Dan Ritter
On Mon, May 15, 2017 at 04:57:35AM +0800, Long Wind wrote: > I have a folder in hard drive and a backup of it is made in a USB disk > Now some new files are added to the folder in hard drive > how to make the folder in USB disk the same as in hard drive? > > I want a program that can check the two

Re: how to copy files

2017-05-14 Thread Lisi Reisz
On Sunday 14 May 2017 21:57:35 Long Wind wrote: > I have a folder in hard drive and a backup of it is made in a USB disk > Now some new files are added to the folder in hard drive > how to make the folder in USB disk the same as in hard drive? > > I want a program that can check the two folders > i

how to copy files

2017-05-14 Thread Long Wind
I have a folder in hard drive and a backup of it is made in a USB disk Now some new files are added to the folder in hard drive how to make the folder in USB disk the same as in hard drive? I want a program that can check the two folders if file size and file name are same, they are regarded as sa

Re: how to copy files from linux to windows via terminal

2012-08-21 Thread Julien Groselle
Hi, Just use winSCP <http://winscp.net/> on your Windows... It's an opensource project which provide file transfert over ssh tunnel. --- JG 2012/8/20 Joe > On Mon, 20 Aug 2012 21:04:27 +0800 > lina wrote: > > > Hi, > > > > how to copy files from linux t

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Joe
On Mon, 20 Aug 2012 21:04:27 +0800 lina wrote: > Hi, > > how to copy files from linux to windows via terminal. > > I know putty, prehaps I should install it? > > Better some already-installed program. > > Thanks with best regards, > > For a clean, easy

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Camaleón
On Mon, 20 Aug 2012 22:18:37 +0800, lina wrote: > On Monday 20,August,2012 10:15 PM, Camaleón wrote: >> On Mon, 20 Aug 2012 21:04:27 +0800, lina wrote: >> >>> how to copy files from linux to windows via terminal. >> >> That will depend on what services are

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Gaël DONVAL
Le lundi 20 août 2012 à 22:18 +0800, lina a écrit : > 135/tcp open msrpc > 139/tcp open netbios-ssn > 445/tcp open microsoft-ds > 1025/tcp open NFS-or-IIS > 1026/tcp open LSA-or-nterm > 1027/tcp open IIS > 1044/tcp open dcutility > 1056/tcp open vfo > 1057/tcp open startron > 2

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread lina
On Monday 20,August,2012 10:15 PM, Camaleón wrote: > On Mon, 20 Aug 2012 21:04:27 +0800, lina wrote: > >> how to copy files from linux to windows via terminal. > > That will depend on what services are running in windows (smb, ssh, > ftp...) to communicate with rest of t

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Camaleón
On Mon, 20 Aug 2012 21:04:27 +0800, lina wrote: > how to copy files from linux to windows via terminal. That will depend on what services are running in windows (smb, ssh, ftp...) to communicate with rest of the word. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-r

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Gaël DONVAL
Le lundi 20 août 2012 à 21:30 +0800, lina a écrit : > > The key issue is what method of access you are using to the Windows machine. > > Windows file sharing is perhaps easiest, in which case you can copy stuff > > via 'samba' on the Linux host. 'smbclient //wherever/foo, put some-file' This or smb

Fwd: Re: how to copy files from linux to windows via terminal

2012-08-20 Thread lina
Sorry, Original Message From: lina To: m...@neidorff.com On Monday 20,August,2012 09:38 PM, m...@neidorff.com wrote: >> Hi, >> >> how to copy files from linux to windows via terminal. >> >> I know putty, prehaps I should install it? >> >

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread mark
> Hi, > > how to copy files from linux to windows via terminal. > > I know putty, prehaps I should install it? > > Better some already-installed program. > > Thanks with best regards, Please provide more information. Is "windows" on a separate partition o

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread lina
On Monday 20,August,2012 09:10 PM, Jon Dowland wrote: > On Mon, Aug 20, 2012 at 09:04:27PM +0800, lina wrote: >> how to copy files from linux to windows via terminal. > > The key issue is what method of access you are using to the Windows machine. > Windows file sharing is p

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Jochen Spieker
lina: > > how to copy files from linux to windows via terminal. Typically, you mount a share from the windows system (filesystem type cifs or smbfs) and then just cp. > I know putty, prehaps I should install it? I don't see how that would help. J. -- I eat meat and am concer

Re: how to copy files from linux to windows via terminal

2012-08-20 Thread Jon Dowland
On Mon, Aug 20, 2012 at 09:04:27PM +0800, lina wrote: > how to copy files from linux to windows via terminal. The key issue is what method of access you are using to the Windows machine. Windows file sharing is perhaps easiest, in which case you can copy stuff via 'samba' on t

how to copy files from linux to windows via terminal

2012-08-20 Thread lina
Hi, how to copy files from linux to windows via terminal. I know putty, prehaps I should install it? Better some already-installed program. Thanks with best regards, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Conta