add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
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