files
create subdirectory for each file
for file in *; do [ -f "$file" ] && mkdir -p "${file%.*}" && mv "$file" "${file%.*}/"; donemerge files and add filename to text
find . -maxdepth 1 -type f -name "*en.srt" -exec sh -c 'echo "=== {} ==="; cat "{}"' \; > combined_files.txt
find and delete
find . -type f -path '*4.3*/*' -name '*.yml' -exec rm {} -i \;find files (.pl.) and count words
find ./ -type f -name "*.pl.*" -exec wc -w {} +find the newest file recursively
find $1 -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | headfind image files in directory
find images in html files:
count files in subdirectories
batch rename files
Last updated