This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on isValid(item_info) | |
try | |
return (folder of the item_info is false) and (package folder of the item_info is false) and (alias of the item_info is false) and (name extension of item_info is "docx") | |
end try | |
return false | |
end isValid | |
on open these_items |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Makefile for rmtrash | |
CFLAGS=-O3 -g -Wall -Wno-four-char-constants -Wno-unknown-pragmas | |
LDFLAGS=-framework Foundation -arch ppc -prebind | |
CC=gcc | |
DESTDIR=/usr/local | |
all: rmtrash | |
install: |