Skip to main content

A command line SCP client

Project description

A simple command line SCP client.

Feature highlights

  • Store commonly used remote paths for quick access
  • Use regular expressions to filter files
  • Upload from standard input directly

Installation

pip install igloo

For igloo to work, you must have activated key authentication (i.e. you must be able to ssh into the remote machine without entering a password or passphrase).

Examples

The exhaustive list of options can be viewed with igloo --help.

Here are a few common usage patterns (note that each --option has a shorter version which can found in the help message):

  • Setup the default remote URL:

    $ igloo --config add user@host:path/to/remote/directory
    
  • Copy two files to this remote URL:

    $ igloo first.ext second.log
    first.ext
    second.log
    
  • Download the first file back:

    $ igloo --remote first.ext
    first.ext
    
  • View the list of files in the remote directory that end in .log:

    $ igloo --remote --list --expr='\.log$'
    second.log
    
  • Add a new remote URL corresponding to profile public:

    $ igloo --config add user@host:another/directory/public public
    
  • Transfer all the files in the current directory to the remote public URL, overwriting any preexisting files:

    $ igloo --profile=public --force *
    first.ext
    second.log
    
  • Download all files from the remote directory that don’t end in .log, and delete them from the remote directory afterwards:

    $ igloo --remote --move --no-match --expr='\.log$'
    first.ext
    
  • View list of profiles:

    $ igloo --config list
    default [user@host:path/to/remote/directory]
    public [user@host:another/directory/public]
    
  • Read from standard input and save remotely as hello.log

    $ echo 'Hello world!' | igloo --stream hello.log
    hello.log
    

Future work

  • Multiple transfers concurrently (–threads=THREADS)
  • Interactive progress bars (change –quiet behavior)
  • Zip files and folders on the fly (–zip)
  • Tool to setup authentication

Project details


Release history Release notifications

This version
History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.26

History Node

0.0.25

History Node

0.0.24

History Node

0.0.23

History Node

0.0.22

History Node

0.0.21

History Node

0.0.20

History Node

0.0.19

History Node

0.0.18

History Node

0.0.17

History Node

0.0.16

History Node

0.0.15

History Node

0.0.14

History Node

0.0.13

History Node

0.0.12

History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
igloo-0.1.6.tar.gz (7.3 kB) Copy SHA256 hash SHA256 Source None Jul 12, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page