You are viewing limited content. For full access, please sign in.

Question

Question

Identify parent folders that only contain shorcuts

asked on November 5, 2018

I have several hundred duplicate parent folders that I need to clean up.  In each instance one of the folders contains only shortcut folders (see attached).  Is there a way for me to search to only identify the folders that contain shortcut sub folders?

Shortcut folders.JPG
0 0

Answer

SELECTED ANSWER
replied on November 5, 2018

Hi Bill,

 

If you don't need to keep the shortcuts, I would simply delete all those first, and then run a search to find all the empty folders.

 

Search for shortcuts:- (you could combine this with a within folder search)

 

{LF:Name="*", Type="S"}

 

Search for empty folders:-

 

{LF:Name="*", Type="F"}-{LF:ChildName="*", Type=DFS}

 

Hope this helps! smileyyes

1 0
replied on November 5, 2018

Exactly what I needed.  Thank you.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.