LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2015, 08:22 AM   #1
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Rep: Reputation: 19
Is it possible to connect a comment to a filename


Is there a program, or a method to add a comment to a filename? Years ago I used 4dos, and it had such a feature. You could even get it to show the comments in the directory display, and you could search for a file by its comment. I don't remember how they did it, but I think it was a separate file in each directory that kept the comments for that directory.
 
Old 02-26-2015, 09:17 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,789
Blog Entries: 13

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
I guess that depends on the file manager in use, plus the file properties you can set. For instance, you can set a title, or author name, even have a comment of some type and then you may see those as you mouse over something. This is mostly in Windows.

I personally reject this concept especially in collaborative development. We once used file attributes to contain some properties, things like document number, title, revision, and so forth. Someone rejected it before me citing that all these "properties" were within the documents themselves. And the fact that we "set" them was bad or worse because people would copy the file for one document to make another and as a result we had seventeen revision 1 copies of the functional spec.

I smirked, walked away and promptly went to prove that person right or wrong only to find that technically they were incomplete ... we had like 47 copies of the functional spec.

To be clear, what happened was the person who created the functional spec did set document properties, got it all correct. Meanwhile the functional spec was now up to revision 15 or something, but the properties said "1.0" dated many months ago. Further, when people copied the fspec and made like a software API for a subsystem, the "contents" of the file were right, but the "properties" were left alone, thus showing that the document was "revision 1.0 functional spec"

Turns out that the one person who wrote these rules was about the only person who did it correctly.
 
Old 02-26-2015, 10:31 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,243
Blog Entries: 4

Rep: Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776Reputation: 3776
Some file systems allow metadata like this to be attached to directory entries; most do not. Some GUI's approximate this feature through the use of hidden files and/or registry-like databases.
 
Old 02-26-2015, 04:43 PM   #4
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
I'm using mint 17, and have no intention of changing any time soon, so I'm mostly interested in doing this in Mint 17. With a deal of extra work I can do it (sort of) myself through a libreoffice calc file, but I have to type in all of the information by hand. I'm looking for an easier way .

With long filennames, one could include a rather detailed comment in the file name, but that makes for other problems (display, in a file manageer is not the only one).
 
Old 02-27-2015, 06:27 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,789
Blog Entries: 13

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
Quote:
Originally Posted by littlejoe5 View Post
I'm using mint 17, and have no intention of changing any time soon, so I'm mostly interested in doing this in Mint 17. With a deal of extra work I can do it (sort of) myself through a libreoffice calc file, but I have to type in all of the information by hand. I'm looking for an easier way .

With long filennames, one could include a rather detailed comment in the file name, but that makes for other problems (display, in a file manageer is not the only one).
If you have some ideas how you would manipulate files such as using LibreOffice Calc format then think about where automation could occur and I'll be happy to help either writing a program or a script to accomplish it. For instance, say you know that you can place a first line header on every file to describe the contents and want to automate that, this is something which can be done using either a script or program.
 
Old 02-27-2015, 12:11 PM   #6
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
Thank you, rtmistler. That's exactly the sort of approach that I would like to pursue. But I'm just getting started trying to do this, and haven't even figured out what details I need to keep track of. Probably don't want a comment on every file, but it should be as automatic as reasonably possible, and easily "callable" when needed. I' wide open for suggestions about those items, and I'll be giving it some serious thought, and get back to you.
 
Old 03-03-2015, 06:26 PM   #7
bill_from_tampa
LQ Newbie
 
Registered: Jan 2005
Location: Tampa
Distribution: Debian testing
Posts: 26

Rep: Reputation: 4
You probably know this, but KDE allows the association of tags, a rating, and comments for files, all of which can be displayed in the file manager (dolphin, for example), and files can be sorted based on these criteria, or searched for. KDE is undergoing development and I don't know how stable this feature may be in the future -- ie will a future evolution of the feature not be backwards compatible with the comments etc that you have laboriously enetered for your files. I believe KDE uses akonadi for management of this feature (but I am a user, not a developer). I've played with it, and it does work (I'm using Debian testing).
 
1 members found this post helpful.
Old 03-05-2015, 03:33 AM   #8
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Original Poster
Rep: Reputation: 19
No, I did not know that. I'm using mate in mint 17 64 bit, and have been using gnome and mate for several years. I might give it a try. What do they call this feature? and can I use it with gnome, (or mate)?
 
Old 03-05-2015, 11:32 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,044

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
In my old Gnome 2 Nautilus, I can right click on a file name and choose the properties option. Then there's a Notes tab where I can type in an entry. Look at Mate's Caja file manager to see if that option's still there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
to extract all the part of the filename before a particular word in the filename aealexanderraj Programming 1 08-27-2012 11:08 AM
[SOLVED] Please help script loop into the /tmp/filename.txt out put with filename and wc. dotran Linux - Newbie 10 06-08-2012 05:02 PM
Change name of backup file in ext3 from filename~ to .filename~ Libu Linux - General 2 07-21-2008 09:29 PM
Convert static library (Filename.a) to dynamic shared object (filename.so) afx2029 Linux - Software 4 08-17-2007 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration