add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
16
old_snippets/move-file-range.en.md
Normal file
16
old_snippets/move-file-range.en.md
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue