forked from emreugurlu/open-security-training
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-scorm-package.sh
More file actions
executable file
·55 lines (41 loc) · 1.44 KB
/
create-scorm-package.sh
File metadata and controls
executable file
·55 lines (41 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
# Create SCORM package for Cybersecurity & Privacy Training
echo "Creating SCORM package..."
# Create a temporary directory for the package
PACKAGE_DIR="scorm-package"
rm -rf $PACKAGE_DIR
mkdir -p $PACKAGE_DIR
# Copy the main files
echo "Copying main training file..."
cp index.html $PACKAGE_DIR/
# Copy the manifest
echo "Copying SCORM manifest..."
cp imsmanifest.xml $PACKAGE_DIR/
# Copy all module directories with their content
echo "Copying phishing module..."
cp -r phishing-smishing-vishing-training $PACKAGE_DIR/
echo "Copying CEO fraud module..."
cp -r ceo-executive-fraud-training $PACKAGE_DIR/
echo "Copying watering hole module..."
cp -r watering-hole-attacks-training $PACKAGE_DIR/
echo "Copying general cybersecurity module..."
cp -r general-cybersecurity-training $PACKAGE_DIR/
echo "Copying privacy awareness module..."
cp -r privacy-awareness-training $PACKAGE_DIR/
echo "Copying secure coding module..."
cp -r secure-coding-training $PACKAGE_DIR/
# Create the ZIP file
echo "Creating ZIP package..."
cd $PACKAGE_DIR
zip -r ../cybersecurity-privacy-training-scorm.zip *
cd ..
# Clean up
rm -rf $PACKAGE_DIR
echo "✅ SCORM package created: cybersecurity-privacy-training-scorm.zip"
echo ""
echo "This package contains:"
echo " - imsmanifest.xml (SCORM manifest)"
echo " - index.html (main launcher)"
echo " - All six training modules in their directories"
echo ""
echo "You can now upload this ZIP file to any SCORM-compliant LMS!"