
list files
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
prints to file list of files in a given directory.
handy if you'd like to, say, tell a friend of yours what ebooks you have, and wouldn't feel like typing them all by hand.
hope you can find it useful :)
==========
version 0.2 (2007.02.07)
- added counting the number of items
- added the possibility to change the place where the listing is written to
- some minor changes to the code
topdesk
14 years ago
I have solved folder's problem in this way:
for thisDir in "$*"; do
Report
BorgQueen
14 years ago
Thank you very much.
Report
747419
14 years ago
The problem might be my distro, which is SuSE - which is famous for having some atypical paths. Putting listFiles.desktop in ~/.kde/share/apps/konqueror/servicemenus is propably okay, but I am not sure about listFiles.sh being in /usr/local/bin...
Report
caminoix
14 years ago
putting the .sh file into /usr/local/bin is just to make it stay in the path. you can put it anywhere else, too - just modify the "exec" line in the .desktop file to point to the right location.
could you please try to run the .sh file from the console and tell me what errors it reports? (just "sh listFiles.sh ".)
Report
747419
14 years ago
Report
G0NZO
14 years ago
Just replace
echo -e $finalList > "$thisDir.list.txt"
with
echo -e $finalList > "$HOME/$thisDir.list.txt"
Report
RocknRolf
14 years ago
Report
747419
14 years ago
Report
caminoix
14 years ago
have you tried installing any other service menus? did they work properly?
may i ask, where do you have your konqueror config files?
Report