This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
2021-02-12 23:23:40 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
######################################################################
|
|
|
|
# @author : swytch (swytch@$HOSTNAME)
|
|
|
|
# @file : bulk
|
2021-02-15 00:37:34 +01:00
|
|
|
# @license : GPLv3
|
2021-02-12 23:23:40 +01:00
|
|
|
# @created : Wednesday Feb 10, 2021 00:27:55 CET
|
|
|
|
#
|
|
|
|
# @description : execute batch commands through your favorite $EDITOR
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
|
|
|
|
[ $1 = "" ] && 1="mv -i"
|
|
|
|
[ $1 = "sox" ] && flags="-C 320"
|
|
|
|
\ls | $EDITOR - -c ":%s/.*/$1 \"&\" $flags \"&\"/g"
|