mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 04:27:14 +01:00
11 lines
211 B
Smarty
11 lines
211 B
Smarty
|
#!/bin/sh
|
||
|
tar cfz /tmp/userdata.tar.gz ../../userdata
|
||
|
|
||
|
|
||
|
ftp -inv <ipftpserver> << EOF
|
||
|
user <userftp> <passwordftp>
|
||
|
put /tmp/userdata.tar.gz userdata_complete_`date +%d`.tar.gz
|
||
|
bye
|
||
|
EOF
|
||
|
rm -f /tmp/userdata.tar.gz
|