Category : File Managers
Archive   : GNUDOS.ZIP
Filename : CP.DOC

Output of file : CP.DOC contained in archive : GNUDOS.ZIP
Usage: cp
[-abdfipruvxDR] [-S backup-suffix] [-V {numbered,existing,simple}]
[+archive] [+backup] [+force] [+interactive] [+one-file-system]
[+preserve] [+recursive] [+update] [+verbose] [+suffix backup-suffix]
[+version-control {numbered,existing,simple}] src... dst

Switch ------------------- Meaning
a, +archive Copy files with archive bit set [NEW]
b, +backup Make backups
d, +duplicate Duplicate full src path under dst path [NEW]
f, +force Force write permissions and overwrites
i, +interactive Query overwrites
p, +preserve Preserve times and permissions
r, +recursive Recursive copy of directories
u, +update Overwrite older files
v, +verbose Print each filename
x, +one-file-system Do not cross file systems
D, Duplicate src path under dst, see 'R' [NEW]
R, Recursive copy, w/o contents of special files
S, +suffix backup_suffix Specify the backup suffix (default=~)
V, +version-control nu,e,s Override the Emacs VERSION-CONTROL variable

Backups are defaulted to numbered e.g. file.c.~123~. You will need 'FN32'.

The archive bit is cleared if -d, -b or -u are used.

Save all .h files on the c: partition to the directory b:/include
and clear the archive bit.
cp -ap c:/**/*.h b:/include

Save all .h files on the c: partition, to duplicate paths on b:
and clear archive bit.
cp -adp c:/**/*.h b:/

  3 Responses to “Category : File Managers
Archive   : GNUDOS.ZIP
Filename : CP.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: