Watching a directory tree on Unix

Watching a directory tree on Unix

Watching a directory tree on Unix Download Summary

  • Language: Python
  • Platform: Linux / BSD
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 440
  • Released: Jun 6, 2007

Watching a directory tree on Unix Description

This script continuously monitors the paths and their subdirectories for changes. If any files or directories are modified, the callable 'func' is called with a list of the modified paths of both files and directories.

'func' can return a Boolean value for rescanning; if it returns True, the directory tree will be rescanned without calling func() for any found changes. (This is so func() can write changes into the tree and prevent itself from being immediately called again.) & prevent t;

Watching a directory tree on Unix Bookmark

Hyperlink code:
Hyperlink for Forum code:

Watching a directory tree on Unix Script Download Notice

Top 4 Download periodically updates information of Watching a directory tree on Unix script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Watching a directory tree on Unix torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Tree

The following program displays the directory structure of a specified path using ASCII characters. The program can optionally display files in addition to directories.This program functions similar to the windows 'tree' command. ...
Python

Clean up a directory tree

This script can be used to clean up a directory tree irrespective of whether the directory tree contains non-empty directories. As long as the user ... work.There is no files, thor cleaning a non-empty directory tree in python os module. os.removedirs() cannot be used ...
Python

RoadRunner

... allows you to update desired files in a directory tree. It needs to be run from the shell. ... inserted ) and d) the path of the directory where you want this update to occur. ...
Python

Flexible directory walking

This function walks a directory tree starting at a specified root folder, and returns ... folders) that match our pattern(s).The standard match our tree function os.path.walk can be confusing, and is difficult ... the results.The file pattern is case insensitive and UNIX style. Multiple patterns may be specified; delimit with a semi-colon. ...
Python

Rename subdirectories of a directory tree

... a sed/awk Python equivalent for walking into a directory tree and renaming certain subdirectories, while also looking into all xml files on the way and replacing/modifying certain strings in those files.It would be nicer if someone could suggest an enhanced re.sub(regex, replacement, subject) where I could replace all strings of ...
Python