User Tools

Site Tools


linux:find

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:find [2025/02/11 21:14] Wulf Rajeklinux:find [2025/05/19 12:15] (current) – [Recursively changing extension] Wulf Rajek
Line 111: Line 111:
 <code> <code>
 find . -type f -name "*.part" -exec sh -c 'mv "$1" "${1%.part}.!qB"' _ {} \; find . -type f -name "*.part" -exec sh -c 'mv "$1" "${1%.part}.!qB"' _ {} \;
 +
 +find . -type f -name '*.JPG' -print0 | xargs -0 sudo rename 's/.JPG$/.jpg/'
 </code> </code>
  
linux/find.txt · Last modified: by Wulf Rajek