1
0

Update FreeBSD.md

This commit is contained in:
2023-12-01 18:55:25 +01:00
parent a83893f001
commit 50f03c919f

View File

@ -49,3 +49,13 @@ zfs send -Rv old_pool/<dataset_name>@relocate | zfs receive -d new_pool/<new_dat
history | grep <command> history | grep <command>
!<id command> !<id command>
``` ```
### For loop to copy files and rename in destination
```sh
foreach f (*.jpg)
cp "$f" /destination/newname-"$f"
end
```
Use quotes if filenames have spaces