Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, basically my question involves the dd command. My aim is to copy the entire contents of my usb thumb drive (e to a folder located in (c:myfolder). I have ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    12

    new to linux - dd command

    Hi, basically my question involves the dd command. My aim is to copy the entire contents of my usb thumb drive (e to a folder located in (c:myfolder). I have seen a tutorial on this site for dd, which is helpful but no matter what i have tried i dnt seem to be able to get it to work successfully. Im using a windows machine and i downloaded 'cygwin'. Could anyone help me out here?


    Thanks

  2. #2
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    161
    how about if you post the command lines that you tried and why they didn't work, e.g. error messages if you got any? maybe someone can help you once you give a little more information. (-:

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    If you need help about one command you can run:
    man <command> to get the manual pages.

    eg.
    man dd then you'll get:
    Code:
    DD
    
    This document was created by man2html using the manual pages.
    Section: User Commands (1)
    Updated: June 2002
    Index Return to NetAdminTools  
    NAME
    dd - convert and copy a file  
    SYNOPSIS
    dd [OPTION]...  
    DESCRIPTION
    
    Copy a file, converting and formatting according to the options.
    
    bs=BYTES
        force ibs=BYTES and obs=BYTES 
    cbs=BYTES
        convert BYTES bytes at a time 
    conv=KEYWORDS
        convert the file as per the comma separated keyword list 
    count=BLOCKS
        copy only BLOCKS input blocks 
    ibs=BYTES
        read BYTES bytes at a time 
    if=FILE
        read from FILE instead of stdin 
    obs=BYTES
        write BYTES bytes at a time 
    of=FILE
        write to FILE instead of stdout 
    seek=BLOCKS
        skip BLOCKS obs-sized blocks at start of output 
    skip=BLOCKS
        skip BLOCKS ibs-sized blocks at start of input 
    --help
        display this help and exit 
    --version
        output version information and exit 
    
    BLOCKS and BYTES may be followed by the following multiplicative suffixes: xM M, c 1, w 2, b 512, kB 1000, K 1024, MB 1,000,000, M 1,048,576, GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y. Each KEYWORD may be:
    
    ascii
        from EBCDIC to ASCII 
    ebcdic
        from ASCII to EBCDIC 
    ibm
        from ASCII to alternated EBCDIC 
    block
        pad newline-terminated records with spaces to cbs-size 
    unblock
        replace trailing spaces in cbs-size records with newline 
    lcase
        change upper case to lower case 
    notrunc
        do not truncate the output file 
    ucase
        change lower case to upper case 
    swab
        swap every pair of input bytes 
    noerror
        continue after read errors 
    sync
        pad every input block with NULs to ibs-size; when used 
        with block or unblock, pad with spaces rather than NULs 
    
     
    AUTHOR
    Written by Paul Rubin, David MacKenzie, and Stuart Kemp.  
    REPORTING BUGS
    Report bugs to <bug-fileutils@gnu.org>.  
    COPYRIGHT
    Copyright &#169; 2002 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
    SEE ALSO
    The full documentation for dd is maintained as a Texinfo manual. If the info and dd programs are properly installed at your site, the command
    
        info dd 
    
    should give you access to the complete manual.
    Also its usefull to remember what the tab-button does.
    its really a great tool if you have problems with remembering commands.
    Cygwin is cool. But not really good.
    Well, I hope this helps.

    Cheers,
    Robin


    edit:
    if you try in Cygin to target C:\ you should look abit further since you have to target /cygdrive/c
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...