bash - How can I make a progress bar (cp copying a directory)? -


i suppose compare number of files in source directory number of files in target directory cp progresses, or perhaps folder size instead? tried find examples, bash progress bars seem written copying single files. want copy bunch of files (or directory, if former not possible).

you can use rsync instead of cp this:

rsync -pa source destination

which give progress bar , estimated time of completion. handy.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -