Node: Loading and Saving, Next: , Previous: Moving and Copying, Up: Getting Started



Loading and Saving

After your first experience with Pcb you will probably want to save your work. :s name passes the data to an external program which is responsible for saving it. For details see saveCommand in Resources. Saving also is available from the File menu, either with or without supplying a filename. Pcb reuses the last filename if you do not pass a new one to the save routine.

To load an existing layout either select load layout data from the File menu or use :l filename. A file select box pops up if you don't specify a filename. Merging existing layouts into the new one is supported either by the File menu or by :m filename.

Pcb saves a backup of the current layout depending on the resource backup. The file is named /tmp/PCB.%i.backup by default (this may have been changed at compilation time via the BACKUP_NAME variable in globalconfig.h). During critical sections of the program or when data would be lost it is saved as /tmp/PCB.%i.save. This file name may be changed at compile time with the DEFAULT_MEDIASIZE variable in globalconfig.h.

%i is replaced by the process ID.