„install.sh“ ändern
This commit is contained in:
parent
42c50a8aa4
commit
82f7acf2cc
@ -3,9 +3,11 @@
|
|||||||
cd /opt/
|
cd /opt/
|
||||||
echo "#!/bin/bash" > zip_folder_daily.sh
|
echo "#!/bin/bash" > zip_folder_daily.sh
|
||||||
echo "#Enter the directory to be zipped (e.g., /path/to/folder)" >> zip_folder_daily.sh
|
echo "#Enter the directory to be zipped (e.g., /path/to/folder)" >> zip_folder_daily.sh
|
||||||
|
echo "Enter the directory to be zipped (e.g., /path/to/folder)"
|
||||||
read path
|
read path
|
||||||
echo "SOURCE_DIR=" '$path' " " >> zip_folder_daily.sh
|
echo "SOURCE_DIR=" '$path' " " >> zip_folder_daily.sh
|
||||||
echo "# Enter the directory where the zipped files will be stored (e.g., /path/to/archive)" >> zip_folder_daily.sh
|
echo "# Enter the directory where the zipped files will be stored (e.g., /path/to/archive)" >> zip_folder_daily.sh
|
||||||
|
echo "Enter the directory where the zipped files will be stored (e.g., /path/to/archive)"
|
||||||
read archive
|
read archive
|
||||||
echo "ARCHIVE_DIR=" '$archive' "" >> zip_folder_daily.sh
|
echo "ARCHIVE_DIR=" '$archive' "" >> zip_folder_daily.sh
|
||||||
echo "DATE=$(date +%Y-%m-%d)" >> zip_folder_daily.sh
|
echo "DATE=$(date +%Y-%m-%d)" >> zip_folder_daily.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user