--- title: "move file range" date: 2020-01-27T14:47:22+01:00 draft: false snippet_types: ["files", "built-ins"] --- Recently had to move a range of files and some zsh expansions came in handy. ```shell $ for x in {1..6}; do mv AAAA.S01E0"$x".mkv ./a-$x.mkv; done ``` source: https://serverfault.com/questions/370403/copy-a-range-of-files-in-command-line-zsh-bash