initial sync
This commit is contained in:
commit
3d093d1a39
10
lychee-sync.sh
Executable file
10
lychee-sync.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run the PHP command
|
||||
php /app/code/artisan lychee:sync /app/code/public/uploads/import/
|
||||
|
||||
# Check if the PHP command succeeded
|
||||
if [ $? -eq 0 ]; then
|
||||
# Delete all files and folders inside the directory
|
||||
rm -rf /app/code/public/uploads/import/*
|
||||
fi
|
Loading…
Reference in New Issue
Block a user