Upload first lot of files

Upload first lot of files.
This commit is contained in:
Peter Green 2023-01-07 19:56:14 +00:00
parent 65cb6c9ccc
commit 2b892f12bc
5 changed files with 219 additions and 1 deletions

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Make Project Dirs
Exec=
Comment=Script for making project workflow easier!
Terminal=true
Icon=
Type=Application
Categories=Development;

64
Make_Project_Dirs.sh Normal file
View File

@ -0,0 +1,64 @@
#!/bin/bash
# Script to create directory structures for multimedia projects.
# By Peter Green
# Website - https://greenpete.co.uk/
# Version - 2.4
# Dates - Started developing - 16-09-2018 | Last modified - 02-01-2023
# Licence - MIT
cd ~/Desktop || exit
echo "
#################################
# #
# NEW MULTIMEDIA PROJECT! :-) #
# #
#################################
This script will create your new directory structure on your Desktop.
It will include an Inkscape and Scribus template too.
What would you like to call your new project?"
read -r project_name
mkdir "$project_name"
cd "$project_name" || exit
mkdir -p SRC/Audacity SRC/Ardour SRC/Blender SRC/Inkscape SRC/GIMP SRC/Scribus Export SRC/Kdenlive SRC/SH3D SRC/Krita Assets/Inspiration Assets/Img Assets/Audio Assets/Rushes Assets/Docs
#Copy template files into relevant dirs...
cd ~/bin/Make_Project_Dirs/Assets || exit
cp scribus.sla ~/Desktop/"$project_name"/SRC/Scribus
cp inkscape.svg ~/Desktop/"$project_name"/SRC/Inkscape
cp kdenlive.kdenlive ~/Desktop/"$project_name"/SRC/Kdenlive
#Rename them to match the project name...
mv ~/Desktop/"$project_name"/SRC/Scribus/scribus.sla ~/Desktop/"$project_name"/SRC/Scribus/"$project_name".sla
mv ~/Desktop/"$project_name"/SRC/Inkscape/inkscape.svg ~/Desktop/"$project_name"/SRC/Inkscape/"$project_name".svg
mv ~/Desktop/"$project_name"/SRC/Kdenlive/kdenlive.kdenlive ~/Desktop/"$project_name"/SRC/Kdenlive/"$project_name".kdenlive
clear
echo "
Your project folder, '$project_name' has been created.
You will find it on your Desktop!
#############################################
# #
# Please press enter to close this window. #
# #
#############################################"
# Now lets empty the variable to clear space in RAM.
# Not sure if that's needed but it seem like a polite thing to do!
unset "$project_name"
read -r

111
icon.svg Normal file
View File

@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 16.933333 16.933334"
version="1.1"
id="svg5"
inkscape:version="1.1.2 (1:1.1+202202050950+0a00cf5339)"
sodipodi:docname="Make_New_Dir.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
units="px"
width="64px"
inkscape:snap-global="false"
inkscape:zoom="6.2003367"
inkscape:cx="11.450991"
inkscape:cy="25.401846"
inkscape:window-width="1920"
inkscape:window-height="1049"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2">
<linearGradient
inkscape:collect="always"
id="linearGradient5125">
<stop
style="stop-color:#ffd734;stop-opacity:1;"
offset="0"
id="stop5121" />
<stop
style="stop-color:#fc683f;stop-opacity:1"
offset="1"
id="stop5123" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2763">
<stop
style="stop-color:#0309bd;stop-opacity:1"
offset="0"
id="stop2759" />
<stop
style="stop-color:#01bbed;stop-opacity:1"
offset="1"
id="stop2761" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2763"
id="linearGradient2765"
x1="2.8802683"
y1="13.02074"
x2="14.766887"
y2="5.3451562"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3524372,0,0,1.5959455,-3.3420468,-8.5029905)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5125"
id="linearGradient5127"
x1="-5.9151017"
y1="-32.56043"
x2="42.115553"
y2="-32.56043"
gradientUnits="userSpaceOnUse" />
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
id="rect1464"
style="fill:none;fill-opacity:1;stroke:url(#linearGradient2765);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
d="M 10.335517,3.1955279 V 1.9626206 L 1.39499,1.9220182 m 8.943353,1.3989894 5.2,3e-7 V 15.398265 H 1.3953018 V 1.922129"
sodipodi:nodetypes="cccccccc" />
<path
sodipodi:type="star"
style="fill:none;fill-opacity:1;stroke:url(#linearGradient5127);stroke-width:7.27273;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path2224"
inkscape:flatsided="false"
sodipodi:sides="5"
sodipodi:cx="16.092812"
sodipodi:cy="-33.062542"
sodipodi:r1="7.6663141"
sodipodi:r2="17.288013"
sodipodi:arg1="0.69067789"
sodipodi:arg2="1.3189964"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 22.002116,-28.178641 -1.602039,11.858944 -7.126056,-9.613554 -11.7735832,2.140986 6.9409608,-9.748034 -5.6744359,-10.535742 11.4158063,3.588938 8.266589,-8.652433 0.114395,11.96612 10.783469,5.188245 z"
transform="matrix(-0.09730235,0.16429431,-0.1511869,-0.10573814,4.5640929,3.0900007)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

35
install.sh Normal file
View File

@ -0,0 +1,35 @@
#!/bin/bash
# Figure out where the root folder of this script is on the users computer...
current_dir=$(pwd)
# Checking to see ig there is a 'bin' directory in the users home directory and if not, we will create it.
echo "Looking to see if you have the ~/bin directory"
if [ -d "$HOME"/bin ];
then echo "$HOME/bin exists, nothing to do..."
else echo "Nope! So we will create it now! " && mkdir "$HOME"/bin
fi
# Finally copy the project directory over to the final place - /home/user/bin/...
echo "Copying files..."
cp -r "$current_dir" "$HOME"/bin
echo "Done!"
# Edit the desktop shortcut...
sed -i "s|Exec=|Exec=$HOME/bin/Make_Project_Dirs/Make_Project_Dirs.sh|" "$HOME"/bin/Make_Project_Dirs/Make_Project_Dirs.desktop
sed -i "s|Icon=|Icon=$HOME/bin/Make_Project_Dirs/icon.svg|" "$HOME"/bin/Make_Project_Dirs/Make_Project_Dirs.desktop
# Copy menu file...
echo "Installing shortcut..."
mv "$HOME"/bin/Make_Project_Dirs/Make_Project_Dirs.desktop "$HOME"/.local/share/applications
echo "Done!"
# Clean up...
echo "Cleaning up..."
rm "$HOME"/bin/Make_Project_Dirs/install.sh
# rm -rf "$HOME"/bin/Make_Project_Dirs/.idea # Remove if not needed.
echo "Done!"
# Let the user know we're done!
echo "
All done! Press 'Enter' to close this window"
read -r