Various Linux scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
283 B

#!/usr/bin/env bash
#Создан: Пт 26 фев 2016 21:39:58
#Изменён: Пн 15 ноя 2021 10:31:16
#- file -> [ ] file
for i in "$@"; {
if [[ ! "$i" =~ \[.\]\ .* ]]; then
echo -n $i
echo -ne '\000'
echo -n "[ ] $i"
echo -ne '\000'
fi
} | xargs -0 -n2 mv -v