Python Forum
Decompressing bz2 in multiple sub-directories
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decompressing bz2 in multiple sub-directories
#30
(Apr-13-2017, 05:15 PM)kiton Wrote: Thank you for feedback, guys!

I am using SSH to connect to the EC2. To address the connection issue, I initially switched to Chrome (from Opera). That seems to fix things for a time being. Now, once it happened again I added the following to my (i.e., client machine) ssh_config:
Host *
ServerAliveInterval 120

I am going to explore tmux now. Great suggestion :)

If you are using Chrome to download the files, while you have a SSH connection, maybe you should switch to the rsync command:  rsync -c host:/some/path/to/filepattern /some/local/directory/. WIth this you get:

* very robust download
* compressed download (no need to BZIP)
* avoidance of re-downloading existing local files (based on size/time or checksum, depending on options)
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
RE: Decompressing bz2 in multiple sub-directories - by Ofnuts - Apr-14-2017, 10:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Organization of project directories wotoko 3 441 Mar-02-2024, 03:34 PM
Last Post: Larz60+
  Listing directories (as a text file) kiwi99 1 848 Feb-17-2023, 12:58 PM
Last Post: Larz60+
  Find duplicate files in multiple directories Pavel_47 9 3,147 Dec-27-2022, 04:47 PM
Last Post: deanhystad
  rename same file names in different directories elnk 0 719 Nov-04-2022, 05:23 PM
Last Post: elnk
  I need to copy all the directories that do not match the pattern tester_V 7 2,457 Feb-04-2022, 06:26 PM
Last Post: tester_V
  Functions to consider for file renaming and moving around directories cubangt 2 1,770 Jan-07-2022, 02:16 PM
Last Post: cubangt
  Moving specific files then unzipping/decompressing christophereccles 2 2,379 Apr-24-2021, 04:25 AM
Last Post: ndc85430
  Python create directories within directories mcesmcsc 2 2,226 Dec-17-2019, 12:32 PM
Last Post: mcesmcsc
  Shutil attempts to copy directories that don't exist ConsoleGeek 5 4,568 Oct-29-2019, 09:26 PM
Last Post: Gribouillis
  How to combine file names into a list from multiple directories? python_newbie09 3 5,223 Jul-09-2019, 07:38 PM
Last Post: python_newbie09

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020