Right click options for lupu-525 , lupu-520 , Wary , Slacko

Miscellaneous tools
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#81 Post by don570 »

I wrote a tutorial to help the user with ffconvert.

http://www.murga-linux.com/puppy/viewto ... 479#604479

_________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

New version 5.7

#82 Post by don570 »

New version 5.7

I changed the presets for ffconvert and updated
the package to version 5.7

___________________________-

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#83 Post by vicmz »

I haven't been around lately so I don't know if someone has suggested this yet. How about adding compression options? You know, Compress file to 'formatx', Compress folder to 'formatx', Uncompress here, Uncompress in 'foldernamedafterfile'. I think .tar.gz and .zip should be enough to compress to, and include more formats to uncompress. What d'you think?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#84 Post by don570 »

How about adding compression options?
It's not my script but I could probably rewrite it so that the user
chooses the destination. Jemimah has a feature in
Fluppy linux to make the folder into an email attachment. I should
look into that feature to see how it's done.

_______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 5.8

#85 Post by don570 »

new version 5.8...

Upgraded to conversion_audio-1.5.

This app gives a menu option for
audio files to 'Convert to mp3' or
'Convert to wav'.

I give a rough estimate of time needed to convert.
(It should be accurate if you have a fast machine) and a window will
show the conversion process.

_________________________________________________--

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#86 Post by 666philb »

hi don570

hows about, right click on a binary to run ldd on it in a terminal
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#87 Post by don570 »

I looked at Fluppy to see how attachments to email
are handled. Jemimah wrote a simple script to add
the attachments but it's for the 'claws' email program
which supports launching with a file to be attached to
your message. Not many people use the claws email program
so I won't put it in.

______________________________________________

About compressing files and folders ------>
Are people forgetting that the user is supposed to
drag an icon to the 'Zip' icon on desktop and most puppies will
give user the question 'to add to existing archive or
create a new one'.

__________________________________________

ldd for binary application --> a good project for a computer
science student. I have another project that I'm
currently working on.

__________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#88 Post by don570 »

new version 5.9

improvements:

1) additional preset for ffconvert 'WMA2WAV'
to help inexperienced users convert wma audio files to wav

2) 3 additional right click options added for audio.
The most important being converting wma and flac audio to wav

___________________________________

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#89 Post by RSH »

666philb wrote:hi don570

hows about, right click on a binary to run ldd on it in a terminal
http://murga-linux.com/puppy/viewtopic.php?t=76626
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#90 Post by don570 »

right click on a binary to run ldd on it in a terminal

I'm glad to see someone is working :lol:

I'm working on a package that will rename files in a folder.

For instance does anybody know where there's a script to rename
files in a given folder according to modification date

fileX fileY fileZ to fileX000 fileY001 fileZ003

(the sorting depends on modification date of the file
rather than alphabetical)

I have been researching examples of file renaming on the internet
to see what is possible, but didn't find this particular solution.

______________________________________________________


I think I'll do 'ls -t' to generate a file with the names in it.

then do 'cat -n' to put numbers on the line.

then make a loop to go through the file line by line.

________________________________________________

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#91 Post by SFR »

don570 wrote:For instance does anybody know where there's a script to rename
files in a given folder according to modification date

fileX fileY fileZ to fileX000 fileY001 fileZ003

(the sorting depends on modification date of the file
rather than alphabetical)
It'd be very useful, I'm using it sometimes under Windowze ("FileMenu Tools" application).
Could be something like this?

Code: Select all

#!/bin/bash

# batchaddnum by SFR'2012
# Usage: batchaddnum <folderpath> (DO NOT USE ENDING / PLEASE!)

FOLDERPATH=$1

# Dump all filenames from FOLDERPATH into temporary file
# 'ls -t' option sorts filenames in date order ('-tr' for reversed date order)
# 'tail -n +2' removes "Total..." line
# 'egrep -v '^d' removes directories and '^l' removes links
# next 'cut's to leave only filename

ls "$FOLDERPATH" -A -o -t | tail -n +2 | egrep -v '^d' | egrep -v '^l' | cut -f2- -d ':' | cut -b 4- > /tmp/batchfileslist

# And finally rename all files adding numeric suffix

CNT=1
while read LINE; do
  OLDNAME=$FOLDERPATH"/"$LINE
  if [ ${#CNT} -eq 1 ]; then CNT="00"$CNT; fi
  if [ ${#CNT} -eq 2 ]; then CNT="0"$CNT; fi  
  NEWNAME=$OLDNAME$CNT
  mv "$OLDNAME" "$NEWNAME"
  let CNT=10#$CNT+10#1
done < /tmp/batchfileslist

rm -f /tmp/batchfileslist
exit
It's just an example, not optimized nor extensively tested, but works with hidden files as well as spaces in file- and foldernames, excludes folders and symlinks, and should be easy to expand.

Also, I've been thinking about using find FOLDERNAME -maxdepth 1 -type f, then stat -c %Y FILENAME and then join times and filenames and use sort...

Hope I saved you some time.
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#92 Post by don570 »

Thanks for the info. I didn't see it in time so I used
my own crude method. :oops:

You can test it here.



http://murga-linux.com/puppy/viewtopic. ... 812#612812

I have prepared a nice right click option package
to do renaming of filenames with lots of features
but I found a nasty bug so I can't release it!!
I'll continue to work on it.

___________________________

aarf

#93 Post by aarf »

can we have fsck in right click?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

New version 5.9.1

#94 Post by don570 »

New version 5.9.1 of right-click

I added or changed three apps

1) Baconrecorder 2.7 - just cosmetic changes

2) Rename-files 1.3 - I wrote this to make some simple changes
to filenames when the files are in a folder

3) dependency check by RSH - version .3 -- uses ldd command

It is still being improved by RSH. There is a better version that will
check libraries.
http://murga-linux.com/puppy/viewtopic. ... ca7aaaa650
________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new Version 5.9.2

#95 Post by don570 »

Version 5.9.2 (march 22) dependency check and rename-files upgraded again

The numbering of files in a folder works correctly now

file_000 is the oldest :wink:

___________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#96 Post by don570 »

version 5.9.3

Update:
I'm continuing to work on Rename-files.
The warning messages (about similar file names)
still need improvement. :oops:

_________________________________________

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#97 Post by pemasu »

http://www.murga-linux.com/puppy/viewto ... 451#615451

Not sure if postscript viewer rox right click has been included. The above url provides small pet to do it. It has just small script and rox right click stuff. It should work with epdf and evince.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#98 Post by don570 »

To Pemasu:
I'll look into how PDF files are opened.
I don't think I assumed that evince was installed.

__________________________________________

new version of right click 5.9.4

I am continuing to work on rename-files.

I think I have any nasty bugs fixed but I will still changea couple of
summary windows in the next week.

_______________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 5.9.5

#99 Post by don570 »

new version 5.9.5

New features:

1) rename-files fixed (yet again) :oops:
2 empty-files added ---- this right click option creates empty files
-very useful for a programmer or databases :lol:
3 added pemasu right click for postscript files

User avatar
Pete22
Posts: 264
Joined: Fri 08 May 2009, 22:59
Location: Utah, USA

Saluki

#100 Post by Pete22 »

Does this program work with Saluki?

Pete

Post Reply