Skip to main content

A command line SCP client

Project description

A simple command line SCP client.

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. Rather than go over these again, below 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 back the first file:

    $ 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

Project details


Download files

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

Source Distribution

igloo-0.1.2.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file igloo-0.1.2.tar.gz.

File metadata

  • Download URL: igloo-0.1.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for igloo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 de2b9cb66c52349cad6702562cfefa6012999890e79f93aba052fd7ea2c95b73
MD5 1f03d30926b3dac9a16b86af5fea0524
BLAKE2b-256 dbdf1115d1a1655968134a6c33f28e1cc5ec2173bdf277e8aa4a894e4f75004e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page