Collect a lot of icons from /usr/share/icons (may overwrite some, and complain a bit)

mkdir myicons && find /usr/share/icons/ -type f | xargs cp -t myicons
Today I needed to choose an icon for an app. My simpler way: put all of /usr/share/icons in myicons folder and brows'em with nautilus. Then rm -r 'ed the entire dir.
Sample Output
$ ls myicons/a[b-g]*
myicons/abiword_48.png  myicons/accessories-calculator.png     myicons/acrobat.png
myicons/abiword.png     myicons/accessories-calculator.svg     myicons/acroread.png
myicons/about_kde.png   myicons/accessories-character-map.png  myicons/acroread.svgz
myicons/about_kde.svgz  myicons/accessories-character-map.svg  myicons/add.png
myicons/abrt00.png      myicons/accessories-dictionary.png     myicons/address-book-new.png
myicons/abrt01.png      myicons/accessories-dictionary.svg     myicons/address-book-new.svg
myicons/abrt02.png      myicons/accessories-text-editor.png    myicons/add.svgz
myicons/abrt03.png      myicons/accessories-text-editor.svg    myicons/advanced-directory.png
...

2
By: rodolfoap
2009-12-09 17:43:28

1 Alternatives + Submit Alt

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: