improve copy file over ssh showing progress

file='path to file'; tar -cf - "$file" | pv -s $(du -sb "$file" | awk '{print $1}') | gzip -c | ssh -c blowfish user@host tar -zxf - -C /opt/games
You set the file/dirname transfer variable, in the end point you set the path destination, this command uses pipe view to show progress, compress the file outut and takes account to change the ssh cipher. Support dirnames with spaces. Merged ideas and comments by http://www.commandlinefu.com/commands/view/4379/copy-working-directory-and-compress-it-on-the-fly-while-showing-progress and http://www.commandlinefu.com/commands/view/3177/move-a-lot-of-files-over-ssh
Sample Output
112MB 0:00:12 [8.78MB/s] [==============>     ] 96%

What Others Think

Command lineuf has a website using for their improvement copy file over ssh showing progress. They are guiding codes which helps in getting delete permanently. You can check this site and get some new steps to complete your study task. You can get their compress the file output and takes account to change the ssh cipher. Join their website for all the information.
Sanders4 · 65 weeks and 6 days ago
Command lineuf has a website using for their improvement copy file over ssh showing progress. They are guiding codes which helps in getting delete permanently. You can check this site and get some new steps to complete your study task. You can get their compress the file output and takes account to change the ssh cipher. Join their website for all the information.
Sanders4 · 65 weeks and 6 days ago
You can learn so many such Linux commands from here and it's really good to see the details shared cbd for skincare here. The above command is used to improve the copy file over ssh, showing progress. Good to see its sample output here and I am looking here for more updates.
Alyssalauren · 24 weeks and 2 days ago
A traditional principle of Pareto has been used in business and is called the 80-20 principle. It is based on the idea that eighty percent of the results come from twenty percent of the effort. Please think about it carefully. Have you ever tried to make everything perfect when you were doing your international student assignment writing https://liuxuesavior.com/? Please keep in mind that you are just a student and no one expects you to do everything perfectly, we came here to study because we want to improve ourselves, so it's okay to study step by step. The result may seem like a "little too much" homework, but in fact it may be that you are writing "too carefully". As an example, there is a reason why students are advised to practice "fast reading" skills. Textbooks are not the same as literature, where every sentence implies something else. So it is possible to skim, or in other cases, perhaps skip an entire paragraph - usually the end paragraph summarizes the previous one.
illianna · 3 days ago
YTMP3 is free YouTube to mp3 converter. It helps you convert and download youtube videos to mp3 or mp4 files for free. YTMP3 is the best Youtube mp3.YouTube2MP3 converters can be found in a range of crcinstitute.com apps, software, A good YouTube2MP3 converter should work on all operating systems.A new music service with official albums, singles, videos, remixes, live performances and more for Android, iOS and desktop.
CandyLLewis · 1 hour ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: