Last active
July 5, 2016 04:37
-
-
Save ADoebeling/ad13a97a71ef3cb98fe0d932f4db74e1 to your computer and use it in GitHub Desktop.
How to export *.atch-Files from FudForum 2.6.0 / eGroupware 1.0 with with original filename/extension?
This file contains hidden or 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 :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment