Advertisement
Techn9ne1730

search for archives for kde

Jul 4th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #This is a KDE4 Service Menu to Search directories for RAR archive files.
  2. #Created by Xplorer4x4 with help from OneLine who provided the syntax for the exec line.
  3. #make a searchforarchives.desktop file in /home/$USER/.kde/share/kde4/services/ServiceMenus/
  4. #when executing the command make sure you execute this by clicking on the relevant parent
  5. #folder to avoid launching multiple instances of konsole.
  6. #
  7. [Desktop Entry]
  8. Type=Service
  9. ServiceTypes=KonqPopupMenu/Plugin,inode/directory,inode/directory-locked,,all/allfiles
  10. MimeType=all/all;
  11. Actions=SearchForArchives;
  12. X-KDE-Priority=TopLevel
  13. X-KDE-StartupNotify=false
  14. #StartupNotify=false
  15. X-KDE-Submenu=Extract
  16.  
  17. [Desktop Action SearchForArchives]
  18. Icon=utilities-file-archiver
  19. Name=Search for archives...
  20. Exec=konsole --hold --workdir %f -e find -type f -name '*.rar' -exec unrar e '{}' ';'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement