How To install pyRenamer ?

Anything that pertains to Portage

Moderator: Moderators

Emilien76
Baby Hen
Posts: 6
Joined: Tue Feb 19, 2013 10:35

How To install pyRenamer ?

Post by Emilien76 » Tue Feb 19, 2013 10:46

Hi,
I want to install pyRenamer on Sabayon 11 XFCE but I have never compiled an app so any help would be great...

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Re: How To install pyRenamer ?

Post by wolfden » Tue Feb 19, 2013 11:11

If you are not familiar with portage we do not recommend it to users, instead file a package request so it can be added to the repo:
viewtopic.php?f=76&t=13891

Emilien76
Baby Hen
Posts: 6
Joined: Tue Feb 19, 2013 10:35

Re: How To install pyRenamer ?

Post by Emilien76 » Tue Feb 19, 2013 13:51

Ok but if I need pyRenamer this week? Is it so hard to compile this app ?

aia
Young Hen
Posts: 30
Joined: Wed Nov 28, 2012 11:43

Re: How To install pyRenamer ?

Post by aia » Tue Feb 19, 2013 15:19

Hi Emilien76,

You can download the code from official site and then read the README and INSTALL and you will understand what you have to do and if it is hard or not.
I think the compile is not so hard but depends in which state is your system.I mean that the most difficult part in the compilation is when lets say one application starts to ask for library or dependencies and then you have to compile all these one by one.Maybe in the end of the day to don't remember which was the initial program that you wanted to compile.Xa:)
But also in that way you learn the tree application which is most important.

Alternative for rename or convert multiply files you can play with this command:

Code: Select all

convert
Lets says that you have 5 .jpg images with different name and you want to rename all these.
run:

Code: Select all

convert *.jpg 0.jpg
You have to be in the same directory with your files.
p.s Convert is not exactly for rename files but for convert files but if you don't put any flag in front of this you can rename.It works for me!

User avatar
sabayonino
Sagely Hen
Posts: 3191
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: How To install pyRenamer ?

Post by sabayonino » Tue Feb 19, 2013 18:47

@ aia

Why download from the home site ?

pyrename is in portage tree

Code: Select all

ys-apps/pyrenamer
     Available versions:  ~0.6.0-r1 {{debug music}}
     Homepage:            http://www.infinicode.org/code/pyrenamer/
     Description:         Mass rename files
He can try use portage :

Sync Portage tree and Sabayon Overlay

Code: Select all

# emerge --sync && layman -S
After a first sync , he can install pyrename

Code: Select all

# emerge pyrename
if compile goes fine :

edit /etc/entropy/client.conf

make sure :
ignore-spm-downgrades=enable

then

Code: Select all

# equo rescue spmsync
good luck
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

Emilien76
Baby Hen
Posts: 6
Joined: Tue Feb 19, 2013 10:35

Re: How To install pyRenamer ?

Post by Emilien76 » Tue Feb 19, 2013 19:34

Thanks, I will try to do that

aia
Young Hen
Posts: 30
Joined: Wed Nov 28, 2012 11:43

Re: How To install pyRenamer ?

Post by aia » Tue Feb 19, 2013 22:25

@sabayonino because @Emilien76 asked
Is it so hard to compile this app ?
the first reason.
The second i don't think that is good practise for newbie users to use both equo and emerge.
The result from

Code: Select all

equo search pyrename
found 0 entries.

Stupot
Sagely Hen
Posts: 1652
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: How To install pyRenamer ?

Post by Stupot » Tue Feb 19, 2013 22:50

While it's not a great idea to use portage on an entropy system if you can avoid it, it's much better to use portage than to install outside of any package management at all.

wolfden
Sharecropper
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA
Contact:

Re: How To install pyRenamer ?

Post by wolfden » Tue Feb 19, 2013 23:00

Yes, always use one of the provided package managers first. Going outside of them, we do not support at all, one is on his own if they do.

Ryuno-Ki
Old Dear Hen
Posts: 483
Joined: Mon Feb 27, 2012 22:15
Location: Southern Germany
Contact:

Re: How To install pyRenamer ?

Post by Ryuno-Ki » Tue Feb 19, 2013 23:37

sabayonino wrote:

Code: Select all

# emerge --sync && layman -S
You should add and sync the Sabayon overlay as well:

Code: Select all

# layman -a sabayon && layman -s sabayon 
German Wiki translator ◆ Want to contribute on the wiki? Ask the Bureaucrats!
Please, mark solved threads ◆ Posts unread and unansweredPackage requests

Post Reply