Page 5 of 14

Posted: Tue 14 Feb 2012, 19:22
by don570
I wrote a tutorial to help the user with ffconvert.

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

_________________________________________

New version 5.7

Posted: Sat 18 Feb 2012, 18:15
by don570
New version 5.7

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

___________________________-

Posted: Mon 20 Feb 2012, 17:16
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?

Posted: Wed 22 Feb 2012, 22:18
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.

_______________________________________________________

new version 5.8

Posted: Wed 22 Feb 2012, 22:25
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.

_________________________________________________--

Posted: Fri 24 Feb 2012, 12:46
by 666philb
hi don570

hows about, right click on a binary to run ldd on it in a terminal

Posted: Sat 25 Feb 2012, 17:38
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.

__________________________________

Posted: Sat 25 Feb 2012, 17:43
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

___________________________________

Posted: Fri 09 Mar 2012, 03:15
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

Posted: Sat 10 Mar 2012, 19:21
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.

________________________________________________

Posted: Sun 11 Mar 2012, 11:48
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!

Posted: Sat 17 Mar 2012, 20:08
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.

___________________________

Posted: Mon 19 Mar 2012, 06:15
by aarf
can we have fsck in right click?

New version 5.9.1

Posted: Tue 20 Mar 2012, 17:28
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
________________________________________________

new Version 5.9.2

Posted: Thu 22 Mar 2012, 23:19
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:

___________________________________________

Posted: Sat 24 Mar 2012, 20:33
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:

_________________________________________

Posted: Wed 28 Mar 2012, 17:19
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.

Posted: Sat 31 Mar 2012, 20:27
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.

_______________________________________

new version 5.9.5

Posted: Mon 02 Apr 2012, 21:05
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

Saluki

Posted: Thu 19 Apr 2012, 17:10
by Pete22
Does this program work with Saluki?

Pete