Manipulate Video File Properties

Change create date and time of mp4 file exiftool -CreateDate="YYYY:MM:DD HH:MM:SS" -overwrite_original your-file-name.mp4

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

Convert Image Formats Cmd

Convert RAF to JPG mogrify -format jpg *.raf Conver CR2 to JPG mogrify -format jpg *.CR2

December 14, 2024 · 1 min · 16 words · Me

Copy File Content to Clipboard From Cmd

Copy file content to clipboard from command line Install xclip pacman -S xclip Run `cat your-file.name | xlicp -selection clipboard

December 14, 2024 · 1 min · 20 words · Me

Video File Sorting

Idea I have a bunch of video files and I want to sort them based on creation date Solution concept scan the folder for video file types find files without datetime stamp and move them to folder _ What to do Create bash script nano your-file-name.sh Paste code #!/bin/bash # Check for the input directory if [ "$#" -eq 0 ]; then read -p "Enter the directory containing video files: " directory else directory=$1 fi # Check if the directory exists if [[ -z "$directory" ]]; then echo "You must provide a directory path....

December 14, 2024 · 2 min · 296 words · Me

Heic Convert

1. Install heif-convert pip install heif-convert 2. Run the code to convert everyimage in folder for i in *.HEIC; do heif-convert "$i" "${i%.HEIC}.jpg"; done

December 14, 2024 · 1 min · 24 words · Me