Jump to content

Selecting all notes in Parent and nested tags


Go to solution Solved by PinkElephant,

Recommended Posts

Hi, I feel the need to move my notes around in evernote and start using notebook stacks, rather than so many tags.

I have several parent tags with nested tags under them.  I would like to be able to select the parent tags and have it select notes for itself and all nested tags too, so I can move them to a new notebook in one go.  Is this possible?  Or do I need to move each tag individually to the ew notebook.

I hope this makes sense?  Any help appreciated.

Link to comment
41 minutes ago, Mayonline said:

I would like to be able to select the parent tags and have it select notes for itself and all nested tags too

As far as I know the only way tou can do this is with the advanced search syntax. If you only have a small number of child tags it will be fine but might get tedious if you have lots. The syntax will look like:

any: tag:parent tag:child1 tag:child2 ...

where the ... is for all the other child tag names. The any: ensures you don't only get notes that are tagged with all the different tags listed.

Link to comment
  • Level 5
  • Solution

This is possible through a filter. Hit the parent tag, and select „include all child tags“. Here an example, even works on mobile, thanks to v10 that brought nesting to the mobile clients.

Since Tags really got a boost with v10, I would rethink the project. Notebooks are not a really good way to organize things in detail. And they are a disaster when looking at it from a workflow perspective.

70433DCD-D720-4EDE-A747-D09FFF238DC9.thumb.png.1589a19b901338ba2bbae6d5195f01fe.png

  • Like 1
Link to comment
2 minutes ago, Mike P said:

all the other child tag names

It's not easy to get a list of tags that you could work with. My workaround is to

  • add all the tags to a new dummy note. Using alt+ctrl+T this is quite straight forward
  • click the first tag in the tag area at the bottom of the note. Then shift click the last. All the tags should now be selected
  • Press ctrl+C to copy all the tags
  • Paste the tags somewhere you can work with them. eg the dummy note. You will find a list of tags separared by commas.
  • Unfortunately you will then need to edit it by replacing each comma with tag: 
# What you get
+eBook,+readingList,$critical,$pinned,R

# what you need

tag:+eBook tag:+readingList tag:$critical tag:$pinned tag:R
  •  
Link to comment
33 minutes ago, PinkElephant said:

This is possible through a filter. Hit the parent tag, and select „include all child tags“.

That's a much easier way of doing it! It's a relatively new thing and I had forgotten it. Choose your main tag and then the little arrow to the right of the tag name in the blue lozenge.

 

image.png.e063246db1843ebf829dcb9f1d325e76.png

If you have alot of tags it will still fail with

image.png.b79bd803a65eb62a3587fb1c2c7dc320.png

 

Link to comment

Mmmm, I think my issue may stems from the fact that some tags are made up of two or more words.

For example, this works  any: tag:apple tag:orange   it returns note that are tagged with either apple or orange

This doesn’t any: tag:Orange tag:December 2021  I think this returns notes tagged with orange or december, that mention the word 2021 ??

Is there a way of maybe encapsulating december 2021 so it views it as one word?  Maybe tag:"december 2021"

When I use the 'include sub-tags' method, rather than typing in a manual query as above, I get zero results!  I am convinced that on PC desktop app, it is doing tag1 AND tag2, rather than tag 1 OR tag2

This is confusing! 

Thanks for the help

 

 

Link to comment
18 minutes ago, Mayonline said:

Maybe tag:"december 2021"

That's exactly right. I try to avoid spaces in my tags and use undersctores instead, so there is no need for the inverted commas.

20 minutes ago, Mayonline said:

I am convinced that on PC desktop app, it is doing tag1 AND tag2, rather than tag 1 OR tag2

That was the behaviour in the past. It has changed reasonably recently. What version of EN are you on? Current Windows version is 10.47. I've just double cecked and it is definitely doing OR for me.

 

Link to comment

I'm on 10.47.7

I have created a new simple tag structure as follows.  Each tag has one note in and the tag names have spaces

image.png.d6f7f979c5d606d87977977a5ae34a84.png

When I click the blue lozenge and then select 'include sub tags' method it works fine'.  The results are as expected.

image.png.b39c4f406e91871c5a38d95f3bb04d34.png

1) However, when I try this on a real tag I have, which has >100 sub tags, and even sub sub tags, I get zero results!

2) I tried it on an existing parent that had 11 subtags (no sub sub tags) and a total of 36 notes in all tags and it worked fine. 

3) I then tried it on an existing tag which had which had 70 subtags (no sub sub tags) and it found zero results.

Strangely, whilst clicking the blue lozenge and then selecting 'include sub tags' in item 2 above works, if I right click the tag in the left sidebar and select 'filter with sub tags', I get no results?!  I believe this does indeed do an AND as per this 

 

 

 

 

Link to comment
1 hour ago, Mayonline said:

if I right click the tag in the left sidebar and select 'filter with sub tags', I get no results?!  I believe this does indeed do an AND as per this 

You are right. The clue is that if you use the sidebar option you see all the individual tags listed as blue lozenges. Unless you have tagged a note with all the tags (I never do) you don't get any results, as expected.

If you are getting search results that are not what you expect then I would try the same search on the web version. If you get different results you will proabably need to rebuild the local database by logging out of the desktop version and selecting "remove my Evernote data from this device". In summary:

tag:tag1 tag:tag2 searches for notes which contain tag1 AND tag2

any: tag:tag1 tag:tag2 searches for notes which contain tag1 OR tag2

Using the drop down from a blue lozenge tag searches for notes that contain ANY of the tags or subtags

Right clicking a tag in the sidebar and choosing  "filter with sub tags"  searches for notes that contain ALL of the tags and subtags

Link to comment
  • Level 5

About efficient tagging: With the tags year and month I can tag everything, and just need to create one tag per year (or I create them in one go).

With one tag combining year and month, I permanently need to create new tags.

This is something that I avoid - my strategy includes nesting, but no tags build out of several words.

Fortunately something like this is easy to change, and with a one time effort finding content can be improved.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...