# Using :argdo to change multiple files

> Episode of [Vimcasts](https://podistic.com/podcast/vimcasts.md) · Published February 25, 2013 · Duration 5:40

- **Listen on Podistic:** https://podistic.com/episode/using-argdo-to-change-multiple-files
- **Video:** http://media.vimcasts.org/videos/43/argdo.m4v (video/x-m4v)

## About this episode

The `:argdo` command allows us to execute an Ex command across all buffers in the arglist. To demonstrate, we’ll use the example of running the `:substitute` command across multiple files, then we’ll see how to revert or save the changes. We’ll also compare the `:argdo` and `:bufdo` commands, and consider when it’s appropriate to use each one.
