Advanced Copy Command – Shows Progress Bar While Copying Large Files/Folders in Linux

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

TecMint users Get a Free Domain and 30% off on Inmotion Web Hosting - Signup with Inmotion Now!

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

11 Responses

  1. DEEPAK says:

    [root@DEEPAKPC coreutils-8.21]# cp src/cp /usr/bin/
    cp: overwrite ‘/usr/bin/cp’? y
    cp: cannot create regular file ‘/usr/bin/cp’: Text file busy

    • Ravi Saive says:

      I think something is preventing your from overwriting the file, so better use -f flag, it will force you to copy file. like

      cp -f src/cp /usr/bin/
      
      • forkicks says:

        Something -is- preventing the cp, the actual cp command itself :)

        Use an intermediate step and cp the new cp file as /usr/bin/cp1, then mv the old one out of the way and mv the new into place. It won’t be locked then. (I’m sure there’s some other smarter way of doing this, but this works).

        Also, the links to the patches are dead.

  2. DEEPAK says:

    Is there any malware patch in this ?

  3. giovane says:

    thanks!!!!

  4. monsterz says:

    This thing always result in segmentation fault after 3~4 GB of data copied, using pre-compiled binaries, on Ubuntu 13.04.

  5. krisinho says:

    you could always create simple aliases for rsync:

    alias rcopy=”rsync –partial –progress –append –rsh=ssh -r -h”
    alias rmove=”rsync –partial –progress –append –rsh=ssh -r -h –remove-sent-files”

    works great:)

  6. AndrewM says:

    You could also just use scp with localhost.

  7. n2 says:

    I don’t log out every time i add a new alias, I just type:

    source ~/.bashrc

    and it’s ready for use :)

  8. Eddie says:

    I always use for this “rsync –progress” really simple

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Join Over 62000+ Linux Users
  1. 47558
  2. 2150
  3. 11343

Enter your email to get latest Linux Howto's