Pause wget and resume when closing terminal

Alari Truuts

I've searched all over the web and have come to the conclusion that it's possible to pause wget with Ctrl+c and that it's possible to resume with wget -c [URI] But what I haven't found is whether it's the same if I'm mirroring a server over ftp:

wget -m ftp://user:pass@server/directory

will I also be able to Ctrl+c pause the download and resume later with just:

wget -c ftp://user:pass@server/directory

or do I have to add the -m parameter when resuming?

The main thing I don't yet understand though is: whether the download can be resumed even after I've closed the terminal and re-logged in later? (I'm currently in the server over ssh with bitwise)

The best scenario I would be looking for is for me to be able to pause the download (It's a huge download and I don't want to lose any progress I've made so far) and somehow resume it in the background, so when I close the terminal, it will still finish the download. If so, will I later somehow have to stop the process manually or it will end itself when the download is done?

Thank you for all and any help!

Best regards,

Alari

proycon

If you're on some remote server and want to disconnect your terminal whilst continuing the download, just run it in the background with 'nohup' and '&':

$ nohup wget -q url & 
$ exit

The download will continue. Or consider using a terminal multiplexer like tmux or screen so you can track its progress.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

how to resume download in wget which is integrated with firefox via flashgot

분류에서Dev

ConnectionRequest pause () 및 resume ()

분류에서Dev

How to pause, resume and stop pyttsx3 from speaking?

분류에서Dev

Animation glitch when closing a modal while keyboard is visible

분류에서Dev

Pause Phone Ringtone while Speaking through Text To Speech and then Resume

분류에서Dev

How to prevent app from closing when Geocoder address list is null?

분류에서Dev

execute script when closing terminal

분류에서Dev

Run python in terminal and don't terminate when terminal is closed

분류에서Dev

How to change the color of button and pause screen for few second when it clicked?

분류에서Dev

Ubuntu Server 13.10 now goes to sleep when closing laptop lid

분류에서Dev

Stop laptop from suspending when closing lid in lightdm

분류에서Dev

How to use wget --wait option when using input from a file?

분류에서Dev

Playing music in PlayN: how to pause, resume?

분류에서Dev

WinSCP code 4 error when closing file after upload

분류에서Dev

Rhino: Ability to pause, save state and resume javascript

분류에서Dev

trigger AJAX action when click on button inside dropdown without closing it

분류에서Dev

Determine when a NSWindow is closing versus leaving full screen

분류에서Dev

closing dropdown single or multiselect when clicking outside

분류에서Dev

execute script when closing terminal

분류에서Dev

How to start/resume an Oracle VirtualBox and immediately after pause it?

분류에서Dev

Pause html5 video when user switches tab

분류에서Dev

Pause timer if user presses up or down key, resume when they don't

분류에서Dev

wget’s --output-document= option failed when contain ~ character

분류에서Dev

How do I resume an upgrade after pressing d for details in terminal?

분류에서Dev

Angular UI Bootstrap Responsive menu - closing menu when clicking off it?

분류에서Dev

Reading from a binary file when closing and opening it

분류에서Dev

closing a jquery popup when a element is already active

분류에서Dev

Open multiple terminal but without closing the previous one using shell script

분류에서Dev

SpriteKit Pause Resume 오류

Related 관련 기사

  1. 1

    how to resume download in wget which is integrated with firefox via flashgot

  2. 2

    ConnectionRequest pause () 및 resume ()

  3. 3

    How to pause, resume and stop pyttsx3 from speaking?

  4. 4

    Animation glitch when closing a modal while keyboard is visible

  5. 5

    Pause Phone Ringtone while Speaking through Text To Speech and then Resume

  6. 6

    How to prevent app from closing when Geocoder address list is null?

  7. 7

    execute script when closing terminal

  8. 8

    Run python in terminal and don't terminate when terminal is closed

  9. 9

    How to change the color of button and pause screen for few second when it clicked?

  10. 10

    Ubuntu Server 13.10 now goes to sleep when closing laptop lid

  11. 11

    Stop laptop from suspending when closing lid in lightdm

  12. 12

    How to use wget --wait option when using input from a file?

  13. 13

    Playing music in PlayN: how to pause, resume?

  14. 14

    WinSCP code 4 error when closing file after upload

  15. 15

    Rhino: Ability to pause, save state and resume javascript

  16. 16

    trigger AJAX action when click on button inside dropdown without closing it

  17. 17

    Determine when a NSWindow is closing versus leaving full screen

  18. 18

    closing dropdown single or multiselect when clicking outside

  19. 19

    execute script when closing terminal

  20. 20

    How to start/resume an Oracle VirtualBox and immediately after pause it?

  21. 21

    Pause html5 video when user switches tab

  22. 22

    Pause timer if user presses up or down key, resume when they don't

  23. 23

    wget’s --output-document= option failed when contain ~ character

  24. 24

    How do I resume an upgrade after pressing d for details in terminal?

  25. 25

    Angular UI Bootstrap Responsive menu - closing menu when clicking off it?

  26. 26

    Reading from a binary file when closing and opening it

  27. 27

    closing a jquery popup when a element is already active

  28. 28

    Open multiple terminal but without closing the previous one using shell script

  29. 29

    SpriteKit Pause Resume 오류

뜨겁다태그

보관