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:
this use image.png , replace of entries find finds. want?code:find /usr/share/icons -name *"start-here-kde.png" -exec mv /path/to/your/image.png '{}' \;
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Shell script .. How to find images and replace them ?
Ubuntu
Comments
Post a Comment