Automator: trimming file path (POSIX text)
I'm trying to make what I think should be a relatively basic automator action that emails me a list of items that are new in a directory structure each day. Ideally I'd like to return the POSIX text of the file path, but reduce the path being passed to email to just this directory and subdirectories.
I've built a simple test run of this and can extrapolate it to a larger structure, but if anyone can help with this basic version, I'd appreciate it.
Here's the demo version:
This is what gets passed to Mail:
/Users/colin/Desktop/test/3/file3.txt
/Users/colin/Desktop/test/2/file2.txt
/Users/colin/Desktop/test/1/file1.txt
I want to remove the /Users/colin/Desktop/test/ from the above list when it is passed to mail. How do I do that?
Mac Pro, Mac OS X (10.6.8)