scripts/copy_files.sh

15 lines
347 B
Bash
Executable File

#!/usr/bin/env bash
mkdir -p build_system mpd network scripts terminal themes vim x11
tree -dL 3 ~/.vim/pack > vim/packages
while read -r f t
do
eval t=$t
cp $(find $t) $f
done < files
sed -i 's/password>.*<\//password>password removed<\//g' network/icecast.xml
sed -i 's/password\(\s*\)".*"/password\1"password removed"/g' mpd/mpd.conf