Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #179656 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2017-03-31 18:40 +0200 |
| Last post | 2017-04-05 21:00 +0200 |
| Articles | 9 — 4 participants |
Back to article view | Back to linux.debian.user
Recording needed data from mate-search-tool - possible? Richard Owlett <rowlett@cloud85.net> - 2017-03-31 18:40 +0200
Re: Recording needed data from mate-search-tool - possible? songbird <songbird@anthive.com> - 2017-04-02 18:20 +0200
Re: Recording needed data from mate-search-tool - possible? Richard Owlett <rowlett@cloud85.net> - 2017-04-03 08:10 +0200
Re: Recording needed data from mate-search-tool - possible? songbird <songbird@anthive.com> - 2017-04-03 15:00 +0200
Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] Richard Owlett <rowlett@cloud85.net> - 2017-04-05 14:10 +0200
Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] Mark Fletcher <mark27q1@gmail.com> - 2017-04-05 15:30 +0200
Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] Richard Owlett <rowlett@cloud85.net> - 2017-04-05 16:40 +0200
Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] songbird <songbird@anthive.com> - 2017-04-05 17:50 +0200
Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] David Wright <deblis@lionunicorn.co.uk> - 2017-04-05 21:00 +0200
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-03-31 18:40 +0200 |
| Subject | Recording needed data from mate-search-tool - possible? |
| Message-ID | <tr7KG-714-23@gated-at.bofh.it> |
I am using Jessie with MATE desktop. I search for a string within a filename OR folder name. I must distinguish between files, folders and links to either. "Applications->Accessories->Search for files" will DISPLAY the data. *HOWEVER* attempting to record the data yields obfuscated data: > ITEM NOTE > [ 1] [1] /var/cache/apt/archives/wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u11_all.deb > [ 2] [2] /usr/share/wordpress/wp-content/themes/twentyfifteen > [ 3] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp/twentyfifteen > [ 4] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp > [ 5] [2] /usr/share/doc/wordpress-theme-twentyfifteen > [ 6] [3] /var/lib/wordpress/wp-content/themes/twentyfifteen > [ 7] [4] /usr/share/lintian/overrides/wordpress-theme-twentyfifteen > [ 8] [4] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.list > [ 9] [1] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.md5sums > [10] [1] /usr/share/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot > [11] [1] /home/richard/Downloads/twentyfifteen.1.7.zip > > > Notes: > 1 a filename w extension > 2 folder > 3 link to folder > 4 a filename w/o extension > > NOTE BENE > Item 4 is a folder but resembels a filename w extension Any suggestions?
[toc] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-04-02 18:20 +0200 |
| Message-ID | <trQop-2Lx-3@gated-at.bofh.it> |
| In reply to | #179656 |
Richard Owlett wrote: > I am using Jessie with MATE desktop. > I search for a string within a filename OR folder name. > I must distinguish between files, folders and links to either. > "Applications->Accessories->Search for files" will DISPLAY the data. > *HOWEVER* attempting to record the data yields obfuscated data: > >> ITEM NOTE >> [ 1] [1] /var/cache/apt/archives/wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u11_all.deb >> [ 2] [2] /usr/share/wordpress/wp-content/themes/twentyfifteen >> [ 3] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp/twentyfifteen >> [ 4] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp >> [ 5] [2] /usr/share/doc/wordpress-theme-twentyfifteen >> [ 6] [3] /var/lib/wordpress/wp-content/themes/twentyfifteen >> [ 7] [4] /usr/share/lintian/overrides/wordpress-theme-twentyfifteen >> [ 8] [4] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.list >> [ 9] [1] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.md5sums >> [10] [1] /usr/share/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot >> [11] [1] /home/richard/Downloads/twentyfifteen.1.7.zip >> >> >> Notes: >> 1 a filename w extension >> 2 folder >> 3 link to folder >> 4 a filename w/o extension >> >> NOTE BENE >> Item 4 is a folder but resembels a filename w extension > > Any suggestions? use find. sometimes trying to make a square peg fit in a round hole isn't worth it. songbird
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-04-03 08:10 +0200 |
| Message-ID | <ts3lD-35U-11@gated-at.bofh.it> |
| In reply to | #179712 |
On 04/02/2017 08:56 AM, songbird wrote:
> Richard Owlett wrote:
>> I am using Jessie with MATE desktop.
>> I search for a string within a filename OR folder name.
>> I must distinguish between files, folders and links to either.
>> "Applications->Accessories->Search for files" will DISPLAY the data.
>> *HOWEVER* attempting to record the data yields obfuscated data:
>>
>>> ITEM NOTE
>>> [ 1] [1] /var/cache/apt/archives/wordpress-theme-twentyfifteen_4.1+dfsg-1+deb8u11_all.deb
>>> [ 2] [2] /usr/share/wordpress/wp-content/themes/twentyfifteen
>>> [ 3] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp/twentyfifteen
>>> [ 4] [2] /var/lib/wordpress/wp-content/upgrade/twentyfifteen.tmp
>>> [ 5] [2] /usr/share/doc/wordpress-theme-twentyfifteen
>>> [ 6] [3] /var/lib/wordpress/wp-content/themes/twentyfifteen
>>> [ 7] [4] /usr/share/lintian/overrides/wordpress-theme-twentyfifteen
>>> [ 8] [4] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.list
>>> [ 9] [1] /var/lib/dpkg/info/wordpress-theme-twentyfifteen.md5sums
>>> [10] [1] /usr/share/wordpress/wp-content/themes/twentyfifteen/languages/twentyfifteen.pot
>>> [11] [1] /home/richard/Downloads/twentyfifteen.1.7.zip
>>>
>>>
>>> Notes:
>>> 1 a filename w extension
>>> 2 folder
>>> 3 link to folder
>>> 4 a filename w/o extension
>>>
>>> NOTE BENE
>>> Item 4 is a folder but resembels a filename w extension
>>
>> Any suggestions?
>
> use find. sometimes trying to make a square peg
> fit in a round hole isn't worth it.
>
The annoying facet of the problem is that
"Applications->Accessories->Search for files" retrieves exactly the data
I want and can sort it so that it visually groups data
'productively'{right word??}.
But it can only be saved as an image. I need ASCII text.
In my reading I found references that internally it uses "find" &/or
"locate" but I don't look forward to formatting the output of either.
Although I've done some coding years ago, in no way would I refer to
myself as a programmer.
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-04-03 15:00 +0200 |
| Message-ID | <ts9Kq-6Yw-9@gated-at.bofh.it> |
| In reply to | #179718 |
Richard Owlett wrote:
>songbird wrote:
...
>> use find. sometimes trying to make a square peg
>> fit in a round hole isn't worth it.
>>
>
> The annoying facet of the problem is that
> "Applications->Accessories->Search for files" retrieves exactly the data
> I want and can sort it so that it visually groups data
> 'productively'{right word??}.
>
> But it can only be saved as an image. I need ASCII text.
>
> In my reading I found references that internally it uses "find" &/or
> "locate" but I don't look forward to formatting the output of either.
>
> Although I've done some coding years ago, in no way would I refer to
> myself as a programmer.
can you specify which order you'd like things in and
what you are looking for?
like are you looking for directories,files,links, etc
and how would you like them notated?
i'm sure a bash/etc script could be cooked up to do it...
find doc says these are searchable:
=====
" -type c
File is of type c:
b block (buffered) special
c character (unbuffered) special
d directory
p named pipe (FIFO)
f regular file
l symbolic link; this is never true if the -L option or the
-follow option is in effect, unless the symbolic link is
broken. If you want to search for symbolic links when -L
is in effect, use -xtype.
s socket
D door (Solaris)
"
=====
can do each on a different search and sort to get a list order
as required then put them back together in a final list...
formatting output is not usually an issue (awk,sed) other than
fiddling about.
songbird
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-04-05 14:10 +0200 |
| Subject | Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] |
| Message-ID | <tsRV7-2sp-11@gated-at.bofh.it> |
| In reply to | #179718 |
On 04/03/2017 12:59 AM, Richard Owlett wrote:
> [SNIP]
>
> The annoying facet of the problem is that
> "Applications->Accessories->Search for files" retrieves exactly
> the data I want and can sort it so that it visually groups data
> 'productively'{right word??}.
>
> But it can only be saved as an image. I need ASCII text.
> [snip]
Suggested content for a bug report.
Problem Description: When right-clicking on selected item(s) and
selecting "Save Results As..." valuable information is NOT recorded.
What is saved: ONLY the complete path to file or directory.
What is LOST: item's type, containing folder, date, size.
Solution: add option to save as CSV file
Reasoning:
The existing GUI provides tools for selecting/sorting data.
There are multiple tools for manipulating and printing CSV data.
[As a side note - all folders report "size" of 4.1 kB.
Likely should be reported as blank or "N/A"]
[toc] | [prev] | [next] | [standalone]
| From | Mark Fletcher <mark27q1@gmail.com> |
|---|---|
| Date | 2017-04-05 15:30 +0200 |
| Subject | Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] |
| Message-ID | <tsTay-3at-29@gated-at.bofh.it> |
| In reply to | #179801 |
On Wed, Apr 05, 2017 at 07:06:22AM -0500, Richard Owlett wrote:
> On 04/03/2017 12:59 AM, Richard Owlett wrote:
> >[SNIP]
> >
> >The annoying facet of the problem is that
> >"Applications->Accessories->Search for files" retrieves exactly
> >the data I want and can sort it so that it visually groups data
> >'productively'{right word??}.
> >
> >But it can only be saved as an image. I need ASCII text.
> >[snip]
>
> Suggested content for a bug report.
>
> Problem Description: When right-clicking on selected item(s) and selecting
> "Save Results As..." valuable information is NOT recorded.
>
> What is saved: ONLY the complete path to file or directory.
> What is LOST: item's type, containing folder, date, size.
> Solution: add option to save as CSV file
> Reasoning:
> The existing GUI provides tools for selecting/sorting data.
> There are multiple tools for manipulating and printing CSV data.
>
> [As a side note - all folders report "size" of 4.1 kB.
> Likely should be reported as blank or "N/A"]
>
Why not make the bug report yourself? No one else is likely to do it for
you.
Mark
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-04-05 16:40 +0200 |
| Subject | Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] |
| Message-ID | <tsUgi-3Nd-23@gated-at.bofh.it> |
| In reply to | #179804 |
On 04/05/2017 08:28 AM, Mark Fletcher wrote:
> On Wed, Apr 05, 2017 at 07:06:22AM -0500, Richard Owlett wrote:
>> On 04/03/2017 12:59 AM, Richard Owlett wrote:
>>> [SNIP]
>>>
>>> The annoying facet of the problem is that
>>> "Applications->Accessories->Search for files" retrieves exactly
>>> the data I want and can sort it so that it visually groups data
>>> 'productively'{right word??}.
>>>
>>> But it can only be saved as an image. I need ASCII text.
>>> [snip]
>>
>> Suggested content for a bug report.
>>
>> Problem Description: When right-clicking on selected item(s) and selecting
>> "Save Results As..." valuable information is NOT recorded.
>>
>> What is saved: ONLY the complete path to file or directory.
>> What is LOST: item's type, containing folder, date, size.
>> Solution: add option to save as CSV file
>> Reasoning:
>> The existing GUI provides tools for selecting/sorting data.
>> There are multiple tools for manipulating and printing CSV data.
>>
>> [As a side note - all folders report "size" of 4.1 kB.
>> Likely should be reported as blank or "N/A"]
>>
>
> Why not make the bug report yourself? No one else is likely to do it for
> you.
>
> Mark
>
Of course ;)
The reason I posted was to get preliminary feedback, particularly from
songbird, on how reasonable my analysis was. Also, based on a brief off
list discussion, I wanted to get his opinion on how well it matched the
direction he was trying to lead my thought process.
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-04-05 17:50 +0200 |
| Subject | Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] |
| Message-ID | <tsVm2-4tM-11@gated-at.bofh.it> |
| In reply to | #179806 |
Richard Owlett wrote:
> On 04/05/2017 08:28 AM, Mark Fletcher wrote:
>> On Wed, Apr 05, 2017 at 07:06:22AM -0500, Richard Owlett wrote:
>>> On 04/03/2017 12:59 AM, Richard Owlett wrote:
>>>> [SNIP]
>>>>
>>>> The annoying facet of the problem is that
>>>> "Applications->Accessories->Search for files" retrieves exactly
>>>> the data I want and can sort it so that it visually groups data
>>>> 'productively'{right word??}.
>>>>
>>>> But it can only be saved as an image. I need ASCII text.
>>>> [snip]
>>>
>>> Suggested content for a bug report.
>>>
>>> Problem Description: When right-clicking on selected item(s) and selecting
>>> "Save Results As..." valuable information is NOT recorded.
>>>
>>> What is saved: ONLY the complete path to file or directory.
>>> What is LOST: item's type, containing folder, date, size.
>>> Solution: add option to save as CSV file
>>> Reasoning:
>>> The existing GUI provides tools for selecting/sorting data.
>>> There are multiple tools for manipulating and printing CSV data.
>>>
>>> [As a side note - all folders report "size" of 4.1 kB.
>>> Likely should be reported as blank or "N/A"]
>>>
>>
>> Why not make the bug report yourself? No one else is likely to do it for
>> you.
>>
>> Mark
>>
>
> Of course ;)
> The reason I posted was to get preliminary feedback, particularly from
> songbird, on how reasonable my analysis was.
i really think this is better done as a text
thing to begin with (as i've said before...)
using find, awk, sed, file, etc.
gui stuff is just too limited IMO for what
special cases you may wish to add (more flexibility
for getting deeper info, like that which file
might provide).
> Also, based on a brief off
> list discussion, I wanted to get his opinion on how well it matched the
> direction he was trying to lead my thought process.
Richard, my sympathies for this issue, but to be
realistic, filing a Debian bug for this is going to
result in little IMO. the Debian MATE team needs
help (like most Debian packaging teams).
what would likely get a response is a check of
the MATE team upstream site and sign up there and
post your issue to them:
http://mate-desktop.org/
especially note: http://wiki.mate-desktop.org/roadmap
better yet would be a source code patch...:
(against current repo is always best, but even against
the mate you have installed may be a good start for
someone else to adapt):
apt-get build-dep mate-utils-common
apt-get source mate-utils-common
happy hacking, ;)
but really, text is so much easier...
songbird
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2017-04-05 21:00 +0200 |
| Subject | Re: Likely a BUG - was [Re: Recording needed data from mate-search-tool - possible?] |
| Message-ID | <tsYjU-6ji-25@gated-at.bofh.it> |
| In reply to | #179801 |
On Wed 05 Apr 2017 at 07:06:22 (-0500), Richard Owlett wrote:
> On 04/03/2017 12:59 AM, Richard Owlett wrote:
> >[SNIP]
> >
> >The annoying facet of the problem is that
> >"Applications->Accessories->Search for files" retrieves exactly
> >the data I want and can sort it so that it visually groups data
> >'productively'{right word??}.
> >
> >But it can only be saved as an image. I need ASCII text.
> >[snip]
>
> Suggested content for a bug report.
>
> Problem Description: When right-clicking on selected item(s) and
> selecting "Save Results As..." valuable information is NOT recorded.
>
> What is saved: ONLY the complete path to file or directory.
> What is LOST: item's type, containing folder, date, size.
> Solution: add option to save as CSV file
> Reasoning:
> The existing GUI provides tools for selecting/sorting data.
> There are multiple tools for manipulating and printing CSV data.
By all means submit a wishlist item ...
> [As a side note - all folders report "size" of 4.1 kB.
> Likely should be reported as blank or "N/A"]
... but why censor information you just don't understand?
Cheers,
David.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web