postgres | 2023-11-15 18:16:03.066 KST [1381] FATAL: password authentication failed for user "postgres"
postgres | 2023-11-15 18:16:03.066 KST [1381] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
출처 : Replace default PostgreSQL Password
To convert line endings from DOS (CRLF) to Unix (LF) in all files inside directories, you can use the dos2unix command. If you don't have it installed, you can usually install it using your system's package manager.
Here's an example command that recursively converts line endings in all files within a directory:
bash
Copy code
find /path/to/top/directory -type f -exec dos2unix {} \;
This command uses the find utility to locate all files (-type f) within the specified top directory and its subdirectories and then executes dos2unix on each file.
If you don't have the dos2unix command, you might need to install it first. On Debian-based systems (e.g., Ubuntu), you can install it with:
bash
Copy code
sudo apt-get install dos2unix
On Red Hat-based systems (e.g., CentOS), you can use:
bash
Copy code
sudo yum install dos2unix
After installing dos2unix, you can use the find command as shown above.
Please make sure to replace /path/to/top/directory with the actual path to your top-level directory.
Note: Always make sure to have a backup of your files before performing bulk operations like this to avoid unintentional data loss.