#

## writeall

Write out all modified cells to disk

### Shortcuts:

> Key macro w implements the command writeall.
> Key macro W implements the command writeall force.

### Usage:

> writeall [force|modified|noupdate cell1 cell2...]

### Summary:

> The writeall command generates a popup dialog prompting for action on writing each cell definition in the layout hierarchy to disk. As shown in the figure below, the popup dialog presents five choices:
> write
>   Writes the single cell and continues the prompting for the next cell.
> flush
>   Reverts the cell to what was originally on the disk, like the flush command. Continues prompting for the next cell.
> skip
>   No action for the indicated cell definition; continue prompting for the next cell.
> abort
>   Stop all writing and terminate the command with no further prompting or processing.
> autowrite
>   Write all the cells, with no further prompting.

> > Figure 1. The popup dialog of the writeall command.

> With the option writeall force, the command writes all cells in the hierarchy with no prompting. If one or more cell names follows write force, the cells listed will be written (action "write") and all other cells will be ignored (action "skip").

> With the option writeall modified, the command writes all cells in the hierarchy which have been modified, ignoring those cells marked as needing only a bounding box or timestamp update.

> With the option writeall noupdate, the command writes all cells in the hierarchy like it would for write force, but it does not update timestamps.

### Implementation Notes:

> writeall is implemented as a built-in command in magic.

### See Also:

> save

Return to command index

Last updated: March 7, 2020 at 1:06pm