I have try some things but no luck, I hope you guys can help me
I have this script for example
set streamEditorCommand to " | tr [/:] [:/] "
set streamEditorCommand to streamEditorCommand & " | sed -e " & quoted form of (" s.:." & (POSIX file “/” as string) & “.” )
do shell script “find -E ‘/Users/mvp/Desktop’ -iregex ‘./[^~][^/]\.xlsm$’ -maxdepth 3” & streamEditorCommand without altering line endings
It get the xlsm files from my desktop and a few levels down, this is working OK.
But I want to add a filter because it now filter on the name column by default I think.
This means that the files from each folder are not together, so I think I am looking for a way to filter on Type
so I get the files together from the desktop and subfolders
Not I get the same results now, I think I must add some parameter to Sort.
I simple want the files from the desktop first and then the files from and each sub folder.
So the files from each folder are after each other in the list
Try the one above your last post, I did try a couple of things, but that one should keep the files collated by folder, if not, then I really don’t know what to do about it.