Skip to content

hwolfe71/bmsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

README for bmsort.pl

Author:

Herb Wolfe, Jr

License:

This software is released under the Perl Artistic License.  See
http:https://www.perl.com/language/misc/Artistic.html

Installation:

To install, simply copy to your bin directory, or any other appropriate
directory in your path. You may also need to change the first line of
the script to reflect the path to your perl installation.

Name:

bmsort.pl - sorts a Netscape/Mozilla bookmark file

Usage:

bmsort.pl options

Options:

-U : Sort by url. Default is to sort by title + url.
-f : Sort with folders first. Default is sorting with urls first in a
(sub)folder.

Bugs:

None known

Notes:

I have had this idea since Netscape removed the sort function from
their bookmark manager. I had used another utility, Bookmark Magic, but
it was a MS-Windows only program.

This program works by creating an associative array, with the key being
generated by a concatenation of keys indicating folders, urls,
separators, end of folders, and the folder names, urls or titles and
urls, to keep bookmarks with the same title from being overwritten.  I
changed the key to url + title after discovering missing bookmarks
during testing.

About

Utility to sort a bookmarks file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages