/scpk

Wrapper for 'scp' providing a faster way to copy files to/from Kilburn servers

Primary LanguageShellMIT LicenseMIT

scpk

Small shell script that wraps Unix's 'scp' into a nicer way to be used exclusively by Computer Science students at The University of Manchester

Getting started

Dependencies

  • scp - original secure copy program, by default installed on Linux machines
  • Linux operating system (for the moment)

Installing

The debian package can be downloaded from the releases page

Alternatively, you can do a manual install, which is recommended, by following the next instructions:

  • Open a terminal
  • Download the INSTALL script
wget https://raw.githubusercontent.com/andreinonea/scpk/master/INSTALL
  • Make it executable
chmod +x INSTALL
  • Run INSTALL and enter your password to allow the script access to install the program
./INSTALL
  • You can remove the script afterwards
rm INSTALL

This way, the program is safely installed with the latest version.

Usage

First run

After installing the program, you have to provide your student ID to be used when connecting to Kilburn machines. Fire up a terminal and start the program with

scpk

and follow the instructions. Whenever sending data, you should supply the file path in Kilburn first, then the one on your local machine. Note: Kilburn path implicitly starts from "~/".

Copying from Kilburn

When copying from Kilburn, use the argument 'from' in the command, followed by the source and the destination.

scpk from <kilburn path> <local path>
Copying to Kilburn

When copying to Kilburn, use the argument 'to' in the command, followed by the destination and the source.

scpk to <kilburn path> <local path>
Change student ID

For convenience reasons, a command for changing the University student ID is also provided.

scpk changeid
Help

You can use the help command for more information

scpk --help

or

man scpk

to open the Unix manual page for the program.

Version

Latest version is 1.3

Older versions:

Author

  • Andrei Onea - 1st Year CS student at the University of Manchester

License

This project is licensed under the MIT License - see the LICENSE file for details