Skip to main content

Thread: Shell script .. How to find images and replace them ?


i need way find start-here-kde.png images in /usr/share/icons ( recursively ) , replace them custom image ( eg., located @ desktop ).
how ( shell scripting knowledge below 0 ) ?

here's example! found images & need replace them image: /home/skywalker/start-here-kde.png ..
code:
skywalker@ubuntu:~$ find /usr/share/icons -name "start-here-kde.png" /usr/share/icons/oxygen/64x64/places/start-here-kde.png /usr/share/icons/oxygen/22x22/places/start-here-kde.png /usr/share/icons/oxygen/128x128/places/start-here-kde.png /usr/share/icons/oxygen/48x48/places/start-here-kde.png /usr/share/icons/oxygen/16x16/places/start-here-kde.png /usr/share/icons/oxygen/32x32/places/start-here-kde.png

you try this, not sure work up:

code:
find /usr/share/icons -name *"start-here-kde.png" -exec mv /path/to/your/image.png '{}' \;
this use image.png , replace of entries find finds. want?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Shell script .. How to find images and replace them ?


Ubuntu

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62