Prev: First computer
Next: Torrents killing my connection
From: T o n g on 18 Jun 2010 20:40 Hi, >From 'man cp': ,----- | The backup suffix is `~', unless set with --suffix or SIM- | PLE_BACKUP_SUFFIX. The version control method may be | selected via the --backup option or through the | VERSION_CONTROL environment variable. `----- However, I found that the VERSION_CONTROL environment variable doesn't work: $ cp -v --suffix=b --backup=numbered a b `a' -> `b' (backup: `b.~3~') $ export VERSION_CONTROL=numbered $ cp -v a b `a' -> `b' Moreover, the SIMPLE_BACKUP_SUFFIX or --suffix does not work at all. Any comment? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hvh3e4$k1v$1(a)dough.gmane.org
From: T o n g on 18 Jun 2010 22:30 On Sat, 19 Jun 2010 10:20:09 +0800, Huang, Tao wrote: > here's a set of examples Thanks a lot! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/hvh9qc$1d1$1(a)dough.gmane.org
From: Huang, Tao on 18 Jun 2010 22:30 On Sat, Jun 19, 2010 at 8:36 AM, T o n g <mlist4suntong(a)yahoo.com> wrote: > Hi, > > >From 'man cp': > > ,----- > | The backup suffix is `~', unless set with --suffix or SIM- > | PLE_BACKUP_SUFFIX. Â The version control method may be > | selected via the --backup option or through the > | VERSION_CONTROL environment variable. > `----- > > However, I found that the VERSION_CONTROL environment variable doesn't > work: > > $ cp -v --suffix=b --backup=numbered a b > `a' -> `b' (backup: `b.~3~') > > $ export VERSION_CONTROL=numbered > $ cp -v a b > `a' -> `b' $VERSION_CONTROL works when -b/--backup is given > Moreover, the SIMPLE_BACKUP_SUFFIX or --suffix does not work at all. > > Any comment? here's a set of examples =-=-= $ touch a b c d e f; ls a b c d e f $ cp -b a b $ cp -b --suffix=.bak a c $ SIMPLE_BACKUP_SUFFIX=.b cp -b a d $ cp --backup=t a e $ VERSION_CONTROL=numbered cp -b a f $ ls a b b~ c c.bak d d.b e e.~1~ f f.~1~ =-=-= > Thanks > > -- > Tong (remove underscore(s) to reply) > Â http://xpt.sourceforge.net/techdocs/ > Â http://xpt.sourceforge.net/tools/ Tao -- http://huangtao.me/ http://www.google.com/profiles/UniIsland -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/AANLkTinBKCHzzlnHL252PHTv1AUi3urbpBx_2LKvXCaJ(a)mail.gmail.com
|
Pages: 1 Prev: First computer Next: Torrents killing my connection |