forked from Aseman-Land/libqtelegram-aseman-edition
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSourceDiary.sh
More file actions
executable file
·17 lines (15 loc) · 770 Bytes
/
Copy pathSourceDiary.sh
File metadata and controls
executable file
·17 lines (15 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
# Set the home if not already set.
if [ "${ASEMAN_SRC_PATH}" = "" ]; then
ASEMAN_SRC_PATH="`echo $0 | grep ^/`"
if [ "$ASEMAN_SRC_PATH" = "" ]; then
ASEMAN_SRC_PATH="$PWD"/"$0"
fi
cd `dirname $ASEMAN_SRC_PATH`
ASEMAN_SRC_PATH=$PWD
cd -
fi
cd $ASEMAN_SRC_PATH
OUTPUT="`find -name '*.h' -type f` `find -name '*.cpp' -type f` `find -name '*.ui' -type f` `find -name '*.qrc' -type f` `find -name '*.pro' -type f` `find -name '*.pri' -type f` `find -name '*.qml' -type f` `find -name '*.py' -type f` `find -name '*.java' -type f` `find -name '*.js' -type f` `find -name '*.html' -type f` `find -name '*xml' -type f` `find -name '*.ts' -type f` `find -name '*.md' -type f` "
wc -mwl $OUTPUT
echo " in the "`echo $OUTPUT | wc -w`" Files"