Image File Manipulation

Idea I have a folder containing a bunch of photos and videos. Some of these files do not have a timestamp indicating when they were taken. Task check all files for the datetime stamp move video files to separate folder video_dir move files without timestamp to folder missing_date_dir. What to do create bash script nano your-file-name-here.sh copy the code #!/bin/bash # Ask the user for the target directory echo "Enter the target directory containing the image and video files:" read target_dir # Check if the directory exists if [ !...

December 14, 2024 · 3 min · 442 words · Me

Conda

Update all conda packages conda update --all Search python version conda search python or conda search --full-name python Create environment with specific python version conda create -n p3.11.11 python=3.11.11 Activate environment conda activate p3.11.11 List environment conda info --envs

December 13, 2024 · 1 min · 39 words · Me

Pacman

Seach for package pacman -Ss your-package-name or pacman -F your-package-name Install package pacman -S your-package-name

December 13, 2024 · 1 min · 15 words · Me

Disable Middle Click Thinkpad Trackpad

December 12, 2024 · 0 min · 0 words · Me

Add Hugo Site to Nginx

Install hugo sudo apt install hugo Check hugo version hugo versin Create new hugo site cd /var/www/ hugo new site your-site.com cd /var/www/your-site.com Install theme git clone https://github.com/vaga/hugo-theme-m10c themes/m10c add following to config.toml theme = "m10c" Add new post hugo new content content/posts/name-of-the-post.md --kind post where kind post is the name of template of post saved in folder archetypes Edit post nano content/posts/name-of-the-post.md Publish hugo

December 11, 2024 · 1 min · 65 words · Me