10/2/2023 0 Comments Fastcopy linux![]() Scenario: We have a very large directory-structure we want to copy, so we issue the command cp -R sourcedir destdir in one terminal window. But as I made a solution to the issue at hand, I thought I'd post my solution. 2.3 %Ĭopying at 3.3 MiB/s (about 0h 5m 47s remaining) The progress bar can be displayed without the –g or –progress-bar as recommended by the Author Or copy it using your file manager as rootĪdd the following lines to your ~/.bashrc: alias cp='cp -gR' cd /tmpĬopy the two files cp and mv loacated under coreutils-8.21/src/ to /usr/local/bin: cp src/cp /usr/local/bin/cp ![]() Or download the GNU coreutils and patch it. Then after you run cp command in the background, or after run cp normally, open another terminal, so just try this command: # progress -m If you didn't install progress, you can install it from repository, for example in the CentOS with this command: yum -y install progress. Open a new terminal and type progress it will display the progress of cp command and others command such as:Ĭp, mv, dd, tar, cat, rsync, grep, fgrep, egrep, cut, sort, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, adb, gzip, gunzip, bzip2, bunzip2, xz, unxz, lzma, unlzma, 7z, zcat, bzcat, lzcat, split, gpg Yes, it is possible to display the progress of the command cp on the terminal. Is it possible to see cp speed and percent copied?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |