blob: 8416663623b36267c00bcdda5c1275186ff1a6bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# de,fr,uk,etc to en/ simlink
# inspired by move_i1n8n_release.sh
dir_to_to_create=8
for directory in ./langs/*
do
# in each language directory except source
if [ -d "$directory/" ] && [ $directory != "./langs/en" ]; then
lang=$(basename $directory)
cd $lang
ln -s ../en/$dir_to_to_create $dir_to_to_create
cd ../
fi
done
|