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
Change create date and time of mp4 file exiftool -CreateDate="YYYY:MM:DD HH:MM:SS" -overwrite_original your-file-name.mp4
Convert RAF to JPG mogrify -format jpg *.raf Conver CR2 to JPG mogrify -format jpg *.CR2
Copy file content to clipboard from command line Install xclip pacman -S xclip Run `cat your-file.name | xlicp -selection clipboard
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....
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