Re: Copying only files that are not into the destination

2009-12-25 Thread Abhishek Amberkar [अभिषेक]
On Fri, Dec 25, 2009 at 12:04 AM, Brad Rogers wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On Thu, 24 Dec 2009 18:32:08 +0100 > Merciadri Luca wrote: > > Hello Merciadri, > >> copied in /destination/. Using cp -i is not a good idea, as there >> could be something like ~5000 file

Re: Copying only files that are not into the destination

2009-12-25 Thread Anthony Baldwin
--- On Fri, 12/25/09, Girish Kulkarni wrote: > From: Girish Kulkarni > Subject: Re: Copying only files that are not into the destination > To: "Debian-user" > Date: Friday, December 25, 2009, 5:41 AM > On Thu, 24 Dec 2009, Brad Rogers > wrote: > >> copied i

Re: Copying only files that are not into the destination

2009-12-24 Thread Girish Kulkarni
On Thu, 24 Dec 2009, Brad Rogers wrote: copied in /destination/. Using cp -i is not a good idea, as there could be something like ~5000 files which are not in /destination/, but which are in /source/. cp -n does that. Wonder if I'm missing something, but `cp -n' on Lenny gives me this: g

Re: Copying only files that are not into the destination

2009-12-24 Thread Chris Jones
On Thu, Dec 24, 2009 at 05:45:15PM EST, Tzafrir Cohen wrote: > On Thu, Dec 24, 2009 at 05:27:46PM -0500, Chris Jones wrote: [..] > > Maybe the distinction is not a matter of whatever mother tongue forced > > upong us, but rather a difference in terminology between *nixspeak and > > MacWindowsSpea

Re: Copying only files that are not into the destination

2009-12-24 Thread Tzafrir Cohen
On Thu, Dec 24, 2009 at 05:27:46PM -0500, Chris Jones wrote: > On Thu, Dec 24, 2009 at 03:20:20PM EST, Merciadri Luca wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > John Hasler writes: > > > > > BTW they are directories, not "folders". > > > Sorry, English is not my mother

Re: Copying only files that are not into the destination

2009-12-24 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Hasler writes: > The "desktop and paper" metaphor was popularized by Apple in the 1980s > on the assumption that office workers would be frightened by such > "computer jargon" as "directory" but could be made comfortable by > lifting terminology

Re: Copying only files that are not into the destination

2009-12-24 Thread Chris Jones
On Thu, Dec 24, 2009 at 03:20:20PM EST, Merciadri Luca wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John Hasler writes: > > > BTW they are directories, not "folders". > Sorry, English is not my mother tongue. Does it appear so artificial? > Sorry. Maybe the distinction is not

Re: Copying only files that are not into the destination

2009-12-24 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks, Brad. I did not know about -n. - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8

Re: Copying only files that are not into the destination

2009-12-24 Thread John Hasler
I wrote: > BTW they are directories, not "folders". Merciadri Luca writes: > Sorry, English is not my mother tongue. Does it appear so artificial? The "desktop and paper" metaphor was popularized by Apple in the 1980s on the assumption that office workers would be frightened by such "computer jar

Re: Copying only files that are not into the destination

2009-12-24 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick Thomas writes: > Take a look at "man rsync" It should do exactly what you want. Thanks. - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Proc

Re: Copying only files that are not into the destination

2009-12-24 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Witbrodt writes: > man cp | grep -A 2 -- -u Thanks, Dave. Everything that I always wanted. - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment

Re: Copying only files that are not into the destination

2009-12-24 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Hasler writes: > BTW they are directories, not "folders". Sorry, English is not my mother tongue. Does it appear so artificial? Sorry. - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ -BEGIN PGP SIGNATURE- Ver

Re: Copying only files that are not into the destination

2009-12-24 Thread Brad Rogers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thu, 24 Dec 2009 18:32:08 +0100 Merciadri Luca wrote: Hello Merciadri, > copied in /destination/. Using cp -i is not a good idea, as there > could be something like ~5000 files which are not in /destination/, > but which are in /source/. cp -n

Re: Copying only files that are not into the destination

2009-12-24 Thread John Hasler
Merciadri Luca writes: > I want the files of /source/ which are not in /destination/ to be > copied in /destination/. Write a little script, try rsync, or just go ahead and copy over the duplicates. BTW they are directories, not "folders". -- John Hasler -- To UNSUBSCRIBE, email to debian-use

Re: Copying only files that are not into the destination

2009-12-24 Thread Rick Thomas
On Dec 24, 2009, at 12:32 PM, Merciadri Luca wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have two folders, say .../source/ and .../destination/. There are many files in /source/ and in /destination/. There are some more files in /source/. There are so many files in /source/ th

Re: Copying only files that are not into the destination

2009-12-24 Thread Dave Witbrodt
Merciadri Luca wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have two folders, say .../source/ and .../destination/. There are many files in /source/ and in /destination/. There are some more files in /source/. There are so many files in /source/ that I cannot check the ones that

Copying only files that are not into the destination

2009-12-24 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have two folders, say .../source/ and .../destination/. There are many files in /source/ and in /destination/. There are some more files in /source/. There are so many files in /source/ that I cannot check the ones that are not in /destination/