stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Use folder action scripts on a shell scripts folder







Use folder action scripts on a shell
scripts folder

Use folder action scripts on a shell
scripts folder
05/03/2004 10:44 AM

Recently I purchase a book called "Wicked Cool Shell Scripts" by Dave Taylor, and it is full of exactly that, cool shell scripts. Having not done a whole lot of shell scripting before, I thought it would be good to pick it up...




This is a GrokNews Entry: (what is grok?)





Similar Items

Use folder action scripts on a shell scripts folder

Grok Headline matches for Use folder action scripts on a shell scripts folder

Use folder action scripts to relocate
Safari downloads


Use folder action scripts to relocate
Safari downloads
11/02/2003 01:02 PM
I never liked that you can't set Safari to always ask you where to save downloads. With Folder Actions, there is a short fix though. I just attach this script to the folder where Safari downloads. Once the download finishes, ...

Add PDFs to the Image Conversion Folder
Action Scripts


Add PDFs to the Image Conversion Folder
Action Scripts
12/02/2003 11:04 AM
Simply edit two lines in the "Image - Duplicate as PNG.scpt" (located in /Library -> Scripts -> Folder Action Scripts) to be able to convert screen captures and Illustrator 10 (PDF compatible) files to PNGs. Change from: pr...

XP: Change the Default Folder View /
Make all Folder Views the Same


XP: Change the Default Folder View /
Make all Folder Views the Same
12/31/2004 12:32 PM
Tech-Recipes Dec 31 2004 4:56PM GMT

Creating Shell Scripts using PHP 4 Part
3


Creating Shell Scripts using PHP 4 Part
3
07/02/2002 03:00 PM
Join John as he continues his exploration of writing PHP console scripts as he explains the concept behind a console-version of the ever popular BlackJack card game!

Creating Shell Scripts using PHP 4 Part
2


Creating Shell Scripts using PHP 4 Part
2
06/26/2002 01:01 PM
Join John as he continues his exploration of the CLI version of PHP through the development of a console-based BlackJack game.

Make Linux act like DOS with these shell
scripts


Make Linux act like DOS with these shell
scripts
08/02/2004 08:46 AM

Direct and Related Links for 'Make Linux act like DOS with these shell scripts'

Free registration is required to download the scripts. “One of the most challenging things an IT support professional faces when adopting Linux is learning a whole new set of command line utilities. You can use these Linux scripts to make the Linux command prompt respond to common DOS commands.”…

Run SUID shell scripts safely


Run SUID shell scripts safely 04/19/2005 11:26 AM
I was surprised to learn that the 10.3.9 update disabled the SUID and SGID bits on shell scripts; I thought that had been done years ago (it should have been). Running SUID shell scripts directly was never safe, but there is ...

Review: Wicked Cool Shell Scripts


Review: Wicked Cool Shell Scripts 04/22/2004 06:59 PM
Todd: "If you've fiddled with the Terminal and the command line in Mac OS X a bit, you know how many commands are available, and how much power the Unix underpinnings of Mac OS X offer. While the command line offers no GUI - no buttons or menus - you can perform powerful tasks from the Terminal, and, in many cases, do things that the GUI does not allow."

What to watch out for when writing
portable shell scripts


What to watch out for when writing
portable shell scripts
03/06/2004 02:04 AM
Shell scripts are a popular choice for writing small programs that do file manipulation. They are generally portable across platforms, but there are a number of things that can make a shell script work fine on one machine and fail on another. This article reviews some of the issues shell programmers may run into when trying to write widely portable scripts.

Edit the Scripts menu scripts with one
click


Edit the Scripts menu scripts with one
click
01/05/2005 10:36 PM
FunkDaddy: "I wanted to look at the code of an AppleScript in the Scripts Menu. Normally, I would have to do this by navigating to the script in the Finder and opening it in Script Editor. But I took a wild guess and Option-clicked on the script in the menu, and it opened in Script Editor directly! This makes tweaking my frequently-used scripts really easy."

Safely Creating Temporary Files in Shell
Scripts


Safely Creating Temporary Files in Shell
Scripts
02/10/2004 08:12 PM

Folder Action: MisMatch 1.2


Folder Action: MisMatch 1.2 04/14/2004 10:26 PM
Mismatch is a folder action that will search files to see if they contain the MAC.Amphimix [Symantec] virus - Also known as MP3Virus.Gen [Intego], MAC_MP3CONCEPT.A [Trend]. Mismatch will check any files, or files contained inside folders, to see if a file's name-extension corresponds to the file's file type and kind. If it does not meet this criteria, the script asks the user what they want to do - Either quarantine the file or Trash the file.

Folder Action Manager 1.0.2


Folder Action Manager 1.0.2 10/29/2003 02:19 AM
Folder Action Manager is a free utility to easily manage folder actions as well as their associated scripts on Mac OS X 10.1.2 or later. No release notes were found.

Use AppleScript to create drag and drop
icons for shell scripts


Use AppleScript to create drag and drop
icons for shell scripts
12/24/2003 01:20 PM
You can use AppleScript to create drag and drop icons for shell scripts or X11 applications. Here's how you would create a drag and drop icon for Emacs in Terminal.app:Launch Script Editor (Applications -> AppleScript -> Scr...

Replacing Perl Scripts with PHP Scripts


Replacing Perl Scripts with PHP Scripts 11/26/2002 05:12 AM
With the introduction of version 4.2, PHP has started supporting a new SAPI (Server Application Programming Interface) called CLI (Command Line Interface). This facility was introduced to help developers create small shell applications (scripts) with PHP. So, now you can kiss Perl goodbye forever. -- Jayesh Jain

Hear hear. Thanks to my influence, other developers at Natsoft are using PHP for their batch scripts too. Hmm maybe it is because they report to me...

"zeldman.bang"

macosxhints - 10.3: Use a Folder Action
script for easier zip compression


macosxhints - 10.3: Use a Folder Action
script for easier zip compression
12/02/2003 01:47 AM
Anonymous: "While Panther's Finder's contextual menu allows Zip compression of files with its 'Create Archive of ...' this still requires bringing up the contextual menu, selecting the option .. and then 'cleaning up' the original file and newly created archive.zip. As Panther has the attached Folder Actions, I figured this could be used to shortcut the process and consolidate the file/archive within one place. Luckily 'Sal from Cupertino' picked up on my query in this regard, and provided the following script to compile with the AppleScript Script Editor."

Folder bot


Folder bot 07/01/2002 08:29 AM
A simple class that goes through a specified folder and lists all files, triggering a class event every time a new file has been found and a different event when a folder is found. You concentrate on what you need to do with the files. There were many dir classes out there but none which could do what I wanted, this is why I release this one. Released as sharewear (see readme file) which is my own version of freeware.

smb-scripts


smb-scripts 04/06/2005 03:50 PM
smb-scripts-server-20050406 released

dvb-scripts 0.2.0


dvb-scripts 0.2.0 07/05/2004 03:59 PM
Simple scripts to do video recording.

dvb-scripts 0.3.0


dvb-scripts 0.3.0 08/03/2004 10:46 AM
Simple scripts to do video recording.

Ape Scripts


Ape Scripts 05/03/2004 06:02 PM
Fljud 0.4 Released

Two New Scripts


Two New Scripts 06/06/2002 11:03 AM

Yet Some Another PHP Scripts


Yet Some Another PHP Scripts 12/29/2004 08:02 AM
Project opening

Folder Lock v5.2.0


Folder Lock v5.2.0 04/04/2005 04:05 PM
Folder Lock lets you lock, hide or encrypt confidential files and folders. It can also be used to protect removable disks. [Shareware $35.00 20 Uses 1.77 MB]

Folder Express v2.0.1


Folder Express v2.0.1 04/13/2004 06:03 AM
Folder Express lets you jump to frequently used folders in Windows Explorer, folder windows, Browse Folder dialogs or Open/Save File dialogs. [Shareware $20.00 20 Days 1.76 MB]

Folder Watcher


Folder Watcher 04/18/2005 04:13 AM
First Step towards publishing FolderWatcher

Folder Contents CM 1.0.2


Folder Contents CM 1.0.2 05/14/2004 03:20 PM
Shows folder contents using a contextual menu.

Getting the Root Folder


Getting the Root Folder 06/08/2004 05:13 PM

Folder Cache v2.6


Folder Cache v2.6 12/25/2003 12:49 AM
Folder Cache lists the recently used and favorite folders in your computer's open/save dialog windows and in Windows Explorer.You can access this list by pressing the Folder Cache button, which appears in most "Open..."/"Save..." windows near the "Folder" listbox, or with right mouse click in Windows Explorer. Why should you have to go through the "select folder" process each time when you want to open or save a file ? [Shareware $19.00 30 Days 573 KB]

Lock Folder XP v3.4


Lock Folder XP v3.4 08/16/2004 06:39 AM
Lock Folder XP is a new security tool that lets you lock your files, folders and drives with your personal password. The program uses advanced encryption algorithm approved by the US Government. The program protects your sensitive data from unauthorized access, malicious programs, accidental damage and intentional harm. Just drag your file, folder or drive over to the program's window and the rest is done automatically. Get Lock Folder XP now. [Shareware $19.95 30 Days 1.21 MB]

Command-N for New Folder


Command-N for New Folder 12/03/2003 06:05 PM
In the days before OS X, hitting command-N created a new folder within the Finder, but since OS X arrived, this keyboard shortcut changed function, opening a new Finder window instead. With the help of this hint on macosxhints, you can use the Terminal to restore this behaviour in Mac OS X. {via splorp.blog}

Folder Icon X 1.8.6


Folder Icon X 1.8.6 05/05/2004 11:01 AM
Makes animated customized folder icons.

Email-Folder-0.83


Email-Folder-0.83 05/09/2004 12:17 AM

Hide Folder v3.0.15


Hide Folder v3.0.15 11/03/2003 02:35 PM
Hide Folder provides multilevel security to make sure your data is always protected. It lets you select different modes of access to your files, hard drives, data, or other computers on a network. [Shareware $29.00 30 Days 1.8 MB]

Scripts and Slashes


Scripts and Slashes 10/28/2003 11:08 PM

In an earlier blog entry, I mentioned how Safari was having to emulate a quirk in Mozilla in order to make a particular Web site work. When Mozilla encounters a <script/> element with an XML-style self-closing /, it actually closes the tag, even in HTML pages. This is - I believe - incorrect behavior, since in HTML the / is invalid and should simply be discarded, leaving you with an open tag instead.

If you try this in WinIE and Safari 1.0, you'll see that they behave identically. They both ignore the / and leave the script open. Both Mozilla and Opera, however, honor the / and close up the script tag.

With my "fix" for this bug, the latest Safari will now honor the / as well. I wonder if this behavior was deliberate on the part of Mozilla and Opera or just some accidental fallout from their XML implementations... whatever the case, we're all stuck with it now, since Web sites are (amazingly) writing to it.


Mail Scripts 2.1.2


Mail Scripts 2.1.2 02/10/2004 02:54 AM
AppleScripts additions for improved work flow in Address Book & Mail.

Destiney Scripts 0.3.2


Destiney Scripts 0.3.2 06/22/2004 04:00 AM
An image rating script.

Oak & Apple: Big Cat scripts


Oak & Apple: Big Cat scripts 03/15/2003 10:14 PM
Oak & Apple Software has released three scripts for use with Ranchero's Big Cat contextual script menu. Stuff 1.0 improves on the “Stuff” script included with Big Cat by stuffing selected items into one archive instead of multiple separate archives. Zip 1.0 works in a similar manner but uses DropZip to create Unix and PC compatible zip files. Word Count 1.0 puts up a dialogue box showing the number of characters and the number of words in a text selection.

Ancient Scripts


Ancient Scripts 12/06/2003 08:39 AM
Ancient Scripts
http://www.ancientscripts.com

Ancient Scripts gives overviews of ancient writing systems, as well as phonetics and historical linguistics. Images of the writing systems are displayed with English phonetic approximation. Searchable, with links and a bibliography.
Grok Description matches for Use folder action scripts on a shell scripts folder
GrokA matches for Use folder action scripts on a shell scripts folder

With Send To command, you can move file
to folder


With Send To command, you can move file
to folder
06/30/2004 09:52 AM
National Post Jun 30 2004 1:50PM GMT

Easily copy the currently open folder in
the Finder


Easily copy the currently open folder in
the Finder
04/28/2004 11:33 AM
If you have an open Finder window viewing a folder that you want to move, you could command-click on the title to navigate to the parent folder, and then move the subject folder. But, if you option-click (and hold) on the ico...

10.3: Set up a kiosk machine with an
auto-open folder


10.3: Set up a kiosk machine with an
auto-open folder
11/12/2003 01:09 PM
Actually, this is more of a peeve. In Jag-wire (I wonder how Steve Jobs pronounces Panther?), setting up a user that only has the Simplified Finder made administration in a university (where I work) a breeze. As part of thi...

Folder Guard Professional v6.0


Folder Guard Professional v6.0 12/31/2003 09:39 PM
Folder Guard Professional for Windows XP/2000/NT/Me/9x - Powerful security and access control utility that lets you hide or password-protect files and folders, as well as restrict access to other resources. Makes folders invisible to any application, including Explorer, Office, command prompt. Highly customizable and user friendly. [Shareware $99.95 14 Days 772 KB]

Steel Coffin Folder Set 1.0


Steel Coffin Folder Set 1.0 06/17/2004 10:38 PM
A heavy metal folder icon set, slightly rusted...

Apimac Secret Folder 2.6


Apimac Secret Folder 2.6 02/16/2004 07:53 PM
Lets you conceal a folder and its contents.

Email-Folder-IMAP-1.01


Email-Folder-IMAP-1.01 08/07/2004 05:06 PM

Email-Folder-IMAPS-1.01


Email-Folder-IMAPS-1.01 08/07/2004 05:06 PM

HSLAB Shutdown Folder v1.5


HSLAB Shutdown Folder v1.5 12/12/2003 09:10 AM
HSLAB Shutdown Folder launches applications, command files and symbolic links placed into a Shutdown Folder just before Windows shuts down. [Shareware $30.00 30 Days 1.88 MB]

Deleting All Files in a Folder


Deleting All Files in a Folder 09/07/2004 11:53 PM

Change Folder Icon v6.1


Change Folder Icon v6.1 12/16/2003 11:15 AM
Change Folder Icon replaces the standard icon of a folder to any other icon. You can also extract icons from files. [Freeware 1.06 MB]

Use folder action scripts on a shell scripts folder

The following phrases have been identified by the grok system as matching this entry: "viewing a folder" "linux command" open dmg "folder action" log4perl to syslog facility

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Yet another
back/forward key for
some browsers

Publish iTunes 4.5
library and
playlists to the web

Another method of
passwordless SSH
logins

Dial the phone from
the Address Book

An Address Book
script for MailSmith
users

How to install MySQL
4.1.1 Alphas on OS X

Leverage Dual CPU's
with GNU Make

A fix for the iPod
Updater problem

Recovering from a
moved /Users folder

jButiNET
HLDS Web Start
Enterprise-game
Meteosatlib
Conference Organiser
(corga)

Conflict
Comments on Bomb
Crap

Which part of your
soul did you want to
sell?

IBM, Unisys Deliver
Mainframe Abilities
to Standards-Based
Servers

DB2 Upgrade Propels
IBM Automation
Efforts

Cisco Catalyst Goes
Wireless

WLAN Makeovers on
Tap

DaimlerChrysler CIO
on the Road to IT
Success

Broadcom's
SecureEZSetup Guards
Consumer WLANs

IDS Scheer Bolsters
Aris BPM Package

Hosted Contact
Center Making Gains

Citrix Upgrades
MetaFrame Suite

IBM xSeries 206
Well-Equipped for
Small Businesses

Companies team to
provide voice over
cable

east coast west
coast french toast

Public Discourse
Other News: Diebold
Other News: Jobs's
Pay

Other News: New
Windows Worm

Other News: New MS
Content Control

Other News: Windows
XP

Other News: Mac
Development Issues

Notes and Tips:
iBook Defects

Notes and Tips:
Obsoleted Macs

Notes and Tips:
StatWorks Data
Recovery

Notes and Tips: New
Maple

Notes and Tips: Palm
Desktop Problems

Notes and Tips:
iTunes 4.0 Lock-out

Update: XTension 5.1
Update: AquaMinds
NoteTaker 1.8.8

Update: MacCaption
2.0

Update: oXygen 4.0
Update: Six Degrees
2.0

New: CoLocalizer Pro
New: Cheap Impostor
1.0

New: Lasso CDML
Converter

what is grok?