var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Polling a directory for changes
Is there an easy way to poll (monitor) a directory, to see if any new folders have been created in it?
There might be an easier way that I'm overlooking but you could do it in a fairly primitive fashion like this...
ls -l someDirectory > originalDirectoryStatus
while :; do
ls -l someDirectory > newDirectoryStatus
diff originalDirectoryStatus newDirectoryStatus > directoryStatusInfo || DO_STUFF_WITH_STATUS_INFO
mv newDirectoryStatus originalDirectoryStatus