[TxMt] Re: Getting the current url path of the current open TM file
Charles Turner
vze26m98 at optonline.net
Wed Apr 8 13:55:56 UTC 2009
On Apr 8, 2009, at 3:17 AM, Scott Haneda wrote:
> Before I delete this email from my mailing list folder, I thought I
> would give it one more chance to bump, and see if anyone knew a
> solution.
Looks like the temp file that Cyberduck creates has the URL as part of
the spotlight metadata:
spinoza:~$ cd /private/var/folders/oL/oLF7LHJlFMCVxamgN6TnJU+++TI/-
Tmp-/vze26m98.net
spinoza:/private/var/folders/oL/oLF7LHJlFMCVxamgN6TnJU+++TI/-Tmp-/
vze26m98.net$ ls
index.html
spinoza:/private/var/folders/oL/oLF7LHJlFMCVxamgN6TnJU+++TI/-Tmp-/
vze26m98.net$ xattr -l index.html
com.apple.metadata:kMDItemWhereFroms:
0000 62 70 6C 69 73 74 30 30 A1 01 5F 10 2A 66 74 70
bplist00.._.*ftp
0010 3A 2F 2F 76 7A 65 32 36 6D 39 38 2E 6E 65 74 2F ://
vze26m98.net/
0020 76 7A 65 32 36 6D 39 38 2E 6E 65 74 2F 69 6E 64 vze26m98.net/
ind
0030 65 78 2E 68 74 6D 6C 08 0A 00 00 00 00 00 00 01
ex.html.........
0040 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00
00 ................
0050 00 00 00 00 00 00 00 00 37 ........7
com.apple.quarantine: 0000;49dc871b;Cyberduck;175CE20D-401E-4AC5-BB43-
EA7298B1050D|ch.sudo.cyberduck
com.macromates.caret:
0000 78 9C AB E6 52 00 82 E4 FC 9C D2 DC 3C 05 5B 05
x...R.......<.[.
0010 03 6B 30 3F 27 33 2F 15 C2 AB 05 00 8B 99 08
1D .k0?'3/.........
HTH, Charles
More information about the textmate
mailing list