I run into a very stupid problem, trying to migrate files into new xampp server and having hard time until i realised:
The installation from package created username with space in it.
So now i have username "mysql -" and group "mysql" which control databases and i need to change ownership on 30 database and more than 300 tables in that folder, but the only way i know is manually change one by one folder of database.
How can i bulk change ownership of all folders and files via terminal or somehow if user have space in name?
\
(for example, if your username is "a b" you can dochown a\ b
). Wrapping it in quotes (likechown "a b"
) may work as well.