Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help >  Files

Getting files in and out of the Teaching System

There are many ways to get files in and out of the Teaching System. The range of methods changes (sometimes at short notice) because of security considerations. The method you use depends on the size and number of files to be copied, where the other machine is (some methods only work inside CUED), and who else will have access to the files.

If you're regularly accessing Teaching System files from another CUED machine you might wish to set up a more permanent arrangement where your Teaching System files appear as a folder on your screen. See our Accessing your home directory from a Windows PC page.

Copying files

Compressing files

Big files might benefit from being compressed before transfer. You need to ensure that you can uncompress the file after transfer. Nowadays, programs that compress can usually bundle files up too. The most portable compression program on the Unix Teaching System is zip (versions are available for MacOS, Windows, etc). On the Unix Teaching System typing
zip small big
will create a file called "small.zip" which will be a compressed version of the existing "big" file. Type "man zip" for details.

Bundling files up

Sometimes it helps to bundle a collection of files into a single file before transfer. You need to ensure that you can "undo" the bundle after the tranfer. The most portable "bundling" program on the Unix Teaching System is zip, which will also compress the bundle. For example, if on the Unix Teaching System you have files called "one" and "two" in the current directory, then typing
zip bundle one two
will create a file called "bundle.zip" which can be copied elsewhere and unbundled using
unzip bundle
(or you can use many of the common decompression programs on MacOS/Windows machines). Type "man zip" for details.

See Also

© Cambridge University Engineering Dept
Information provided by Tim Love (tpl)
Last updated: March 2007