
Batch convert documents
Source (link to git-repo or to original if based on someone elses unmodified work):
Dependencies:
unoconv
notify-send
Installation:
sudo install -m 755 batch-convert-documents-kde /usr/bin/
sudo install -m 755 batch-convert-documents-kde.desktop $(kde4-config --prefix)/share/kde4/services/ServiceMenus/
Other:
I made a GNOME version and some nautilus scripts, you can find theme in the source
If prefer command line to this stuff, you will certainly use unoconv tool
*Note: If you are running some office windows for some documents, this script will use the first window you opened as listener to convert documents. If not you won't normally start office until all conversions finished
Type 'batch-convert-documents-kde --help' for more information.
0.2-3
- Fixed hang on libre office 3.4.4
0.2-2
- Fixed auto removing empty sub-folders
0.2
- Auto remove empty sub-folders
- Check supported formats of input and output file
- Support converting all files in selected directory (no recursion by default - optional)
- Write log
- Copy log path to the clipboard (optional)
- Check dependences
0.1-4
- Arrange files list in ascending order
- Added simple sharing listener among multiple conversions
- Built OpenSuse package
0.1-3
- Removed 'kdebase' from dependences list
0.1-2
- Fix notifying wrong message when no file is converted successfully
0.1
- The first release
Ratings & Comments
10 Comments
Hi, congratulations for this script! Using clean Ubuntu 11.04 works well! Using clean Gentoo install don't work. Using clean Kubuntu 11.10 don't work. The process hang on working until I kill oosplash.bin, then the process finishes and the PDF is created. Any clue to solve that? I'm using libreoffice 3.4.4. Thank's!
Sorry I'm late. Fixed it!
Thank's to you! It's better late than never! ;)
Installed the deb on MEPIS 11 (based on Debian Stable), and it silently removed the entire LibreOffice beta suite. If this is under your control, please add a dialog box so user can decide whether to proceed.
Sorry, I have no idea why your packages manager removed LibreOffice 3.4.3 Unoconv only requires LibreOffice >= 2.0, and my package doesn't require any version of dependences
I cannot install the ubuntu-package on natty amd64 kde 4.6.5: unresolved dependencies: kdebase
Wow, pretty nice idea :) > unresolved dependencies: kdebase Maybe you must install kdebase-dev for compiling?
Why compiling? I took the package for ubuntu (*.deb).
OK Its resolved I just removed kdebase package from the dependences list. It seems that package is named variously in various linux desktops
Thanks, now the *.deb-package works.