dd-converts a file while copying it

 <  Day Day Up  >  

dd ”converts a file while copying it

 dd [--help] [--version] [if=file] [of=file][ibs=bytes] [obs=bytes]   [bs=bytes] [cbs=bytes] [skip=blocks] [seek=blocks] [count=blocks]   [conv={ascii,ebcdic,ibm,block,unblock,lcase,ucase,swab,noerror,notrunc, sync}] 

Copies a file from one place to another, most commonly to and from tape drives or from different operating systems.

Example A.19.
 1   $  dd --help  2   $  dd if=inputfile of=outputfile conv=ucase  

EXPLANATION

  1. Prints all options and flags with a short description of each.

  2. Converts all characters in inputfile to uppercase and sends output to outputfile .

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net