-
Switch into www-dir (above htdocs) of your project
-
Download this script:
git clone git@gist.github.com:e78e9bafda5e1e1ff9e9.git
-
Rename folder:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1.) Generate Bash-Script in MySQL | |
SELECT concat("mv ", id, ".atch \"", original_name, "\"") FROM phpgw_fud_attach | |
# 2.) Export as plain-text | |
# 3.) Insert result into rename.sh and add chmod +x | |
# 4.) Run rename.sh :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
Disallow: /check/ | |
Disallow: /contao/ | |
Disallow: /system/ | |
Disallow: /templates/ | |
Disallow: /vendor/ | |
Disallow: /share/index.php | |
Disallow: /build.xml | |
Disallow: /composer.json | |
Disallow: /composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Zum Verbinden auf mac | |
# Terminal starten | |
ssh SSH-BENUTZERNAME@DOMAINNAME | |
# Repariert die SSH-Berechtigung in einem Quota, einmal täglich | |
chmod 700 ~/.ssh && chmod 600 ~/.ssh/* | |
# Gibt Übersicht über alle Änderungen seit letztem Checkin | |
git status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# GIT Auto-Commit | |
# | |
# @author Andreas Doebeling <Kontakt@Doebeling.de> | |
# @copyright 1601.production siegler&thuemmler ohg | |
# @link http://www.1601.com | |
# @link http://xing.doebeling.de | |
# @version 0.2.230129_1ad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to backup a CMS | |
# | |
# @Author: Andreas Doebeling <ad@1601.com> | |
# @Copyright: 1601.communication gmbh | |
# @Link: http://www.1601.com | |
# Switch to customer-folder | |
cd /$PATH/ | |
# Check the current mySQL-Config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .htaccess-defaults | |
# Some often used .htaccess-parameters | |
# | |
# @Author: Andreas Doebeling <ad@1601.com> | |
# @Copyright: 1601.communication gmbh | |
# @Link: http://www.1601.com | |
# @Link: http://xing.doebeling.de | |
# Always required at 1601-Hosting | |
RewriteEngine on |