Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Aug 2016, 13:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
GPicView 0.2.1 or GQview alternative to Viewnior
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
Pelo


Joined: 10 Sep 2011
Posts: 9110
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 30 Sep 2015, 05:35    Post subject:  GPicView 0.2.1 or GQview alternative to Viewnior
Subject description: Delete pictures stored twice, three times or more...
 

pets available here by his iguleder's topic
Our french developer Medor explains much more about gpicview here, but french spoken (Medor)
In fact i hold 4600 images, and many are stored in two or more directories. I am looking for a tool which could hep me deleting them, I just want to keep one of each.
"Geeqie, d'après mes lectures, possède en plus des fonctions de recherches avancées dont une fonction de recherche de doublons et permet l'ouverture d'une image dans un éditeur externe.."
I install geeqie right now, to look if it will do better than viewnior and Gpicview in this matter.
wikka gpicview

See topic GQview here
GQview.jpg
 Description   
 Filesize   60.78 KB
 Viewed   186 Time(s)

GQview.jpg

gpicview.jpg
 Description   french version
 Filesize   60.4 KB
 Viewed   271 Time(s)

gpicview.jpg


_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.

Last edited by Pelo on Wed 14 Oct 2015, 02:55; edited 4 times in total
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 8448
Location: Gatineau (Qc), Canada

PostPosted: Wed 30 Sep 2015, 06:52    Post subject:  

Hi, pelo.

Your problem is a general duplicate find and remove problem, not specific
to pictures. I would go at it directly in console, not through gqview (by
comparison, geepie s?cks, BTW. It brings nothing that gqview didn't
already have, IMO.)

~~~~~~~~
UNTESTED, NO GUARANTEES, I TAKE NO RESPONSIBILITY, as I don't
have two immense folders of pictures like you do, but the general form
of the script would be:
Code:
diff -r --brief -s pictureDIR1 pictureDIR2 | grep identical  | cut -d' ' -f2 > list
# Line above edited Sept. 30, 2015 at 23:23
for i in `cat list`; do
 rm -f $i
# Line above edited Sept. 30, 2015 at 23:29
done
Explanation:
1) diff can be used on directories as well as for files. Please see
-- https://ixquick.com/do/search?q=linux+use+diff+for+folders&l=francais --
and
http://www.linuxquestions.org/questions/linux-newbie-8/compare-folder-contents-526680
about this.

-r # directory parameter

pictureDIR1 # replace with path and name of your 1st picture directory
pictureDIR2 # replace with path and name of your 2nd picture directory

2) grep identical # A filter. Displays only the identical files.

3) cut -d' ' -f2 # We keep only the filename of the first directory.

4) > list # saves the result in a file named "list".
As I said, this is a general form, and I think this list would have to be
further refined to get only the filename on the line.

5) Then, in a for...do...done loop, we read the filename on each line in
file "list" and...

6) we remove it with rm -f $i.

Edit, Sept. 30, 2015, 23:24: Tested the script on directories 32x32
and 48x48 in /usr/share/icons/hicolor/32x32, and it works!
Smile
~~~~~~~~

Since you are allergic to consoles Wink here is a page of other options:
-- https://ixquick.com/do/search?q=linux+find+and+remove+duplicates&l=francais --

The name of an app called "dupeGuru" appears often in those references.
~~~~~~~~

I hope this helps. Good luck.

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink

Last edited by musher0 on Wed 30 Sep 2015, 23:46; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9110
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 30 Sep 2015, 09:42    Post subject: computer deletes itself the files
Subject description: I am pleased with that, however : prudence
 

ah merci Mr Musher, i guess through your english sentences what you mean. It looks like a boucle in our old basic programs. yes , i think that will be the solution.
What please me in your program, is that computer deletes itself the files. Many programs only list
I think a test on a little base will be sane,
Smile taking shots nowadays is so easy and low cost with digital cameras !.
I have just finished my meal, and i am a little borried with so repetitive work. I will try it to-morrow

FYI (for your information) i tested Geeqie which has this duplicate finder tool included, but i failed.

_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 9110
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 30 Sep 2015, 12:53    Post subject: rsync is more like what you're looking for then  

Confused "Sounds like rsync is more like what you're looking for then. It compares two directories and synchronizes them. It can even work over SSH across the network. You can read the man page for more info", says the guy.
No, too complicated.

_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 8448
Location: Gatineau (Qc), Canada

PostPosted: Wed 30 Sep 2015, 15:33    Post subject:  

Hi, pelo.

S.v.p. n'utilise pas mon script tant que je ne l'ai pas testé sur des
petites images semblables. Je n'y avais pas pensé, mais il y en a plein
avec le même nom dans /usr/share/icons/hicolor.

LibrePup m'occupe beaucoup, mais dès que j'ai une minute.

-- 30 sept.: ok, tu peux l'utiliser !

À+


/ (Translation)
Please don't use my script until I've tested it on small similar pictures. Of
which there are plenty with the same name at /usr/share/icons/hicolor --
I just hadn't thought about it.

-- Sept. 30: ok, you can use it!

I'm pretty busy with LibrePup, but as soon as I have a minute.

BFN.
/

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink

Last edited by musher0 on Thu 17 Dec 2015, 20:21; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9110
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 30 Sep 2015, 21:53    Post subject: voulez-vous remplacer ? si c'est un doublon  

LibrePup va t'user le moral, Trisquel est moins bien qu'Ubuntu
Trisquel est une chimère.
Sur 4780 photos, j'ai isolé les photos techniques, qui servent à illustrer mes propos sur le forum Puppy,
Pour les photos de vacances, de journaliste, de sport, je les ai toutes mises dans le même pot, le computeur me demandait voulez-vous remplacer si c'est un doublon, je repondais oui. Après j'en ai poubellisé pas mal. Finalement je me suis trouvé avec 480 images à charger sur SFR Cloud. Mais beaucoup de ces photos sont aussi sur one Drive de Windows.
Bref, j'ai quand même pas mal avancé.

_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 8448
Location: Gatineau (Qc), Canada

PostPosted: Wed 30 Sep 2015, 23:21    Post subject:  

Salut pelo.

LibrePup me remonte le moral, au contraire !

J'ai remanié mon message ci-dessus avec la ligne correcte pour diff.
J'ai essayé le script remanié et ça marche bien !

À la tienne !

/
Hi pelo.

On the contrary, LibrePup is lifting my spirits!

I edited my post above with the correct line for diff.
I tested the edited script, and it works well!

Enjoy!

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9110
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 16 Dec 2015, 21:43    Post subject: Rox-filer shows thumbnails
Subject description: GQview informs about image properties
 

I come back from a road trip in the far west of France. I will (fully ?) use the graphic apps provided by our dear OS, so light but useful Puppy.
GQview, and GPicview, fotoxx and MTpaint should be enough to edit 95% of my pictures 'souvenirs'
Perhaps i will use Scribus, if my travel is worth to be published in travel guides. Sur papier glacé, bien sûr.
2015-12-16_04-34-19.jpg
 Description   Will old Dpup487 do the job ?
 Filesize   85.22 KB
 Viewed   158 Time(s)

2015-12-16_04-34-19.jpg


_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 9110
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 09 Mar 2016, 12:21    Post subject: new version 0.2.5
Subject description: For Slaxen
 

Here Médor presents Gpicvew in its new version 0.2.5 compiled for the french Slacko Slaxen Click the blue !
_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0420s ][ Queries: 12 (0.0042s) ][ GZIP on ]