Giter Site home page Giter Site logo

filechangeswatcher's Introduction

Download

https://sourceforge.net/projects/filechangeswatcher/files/

No drivers, no spyware, no admin rights.

Description

File.05

This application for Windows XP/8/10 users only and it is just a UI of WinAPI functions System.IO.FileSystemEventHandler. See documentation of Win-Api main functions:

https://docs.microsoft.com/en-us/dotnet/api/system.io.filesystemeventhandler?view=netframework-4.0

and

https://weblogs.asp.net/ashben/31773

Application has tray icon. When user or program create files, change files, remove files then this application show popup of event and you can click it to open windows explorer and set current file (if file exists).

When to use it?

I use it when I need to know some disk activity:

  • Save file activity:

Blender Save File And Open Its Place

  • Save Scripts and images:

Blender Save Image And Scripts

  • mysql activity to modify database:

File.02

  • Save MS Word file

Save Word File

Settings

The program has several settings in file FileChangesWatcher.js. This file has json format and has several sections:

File.03

If you do not have this file then application create it with default values.

General

  "General": {
    "log_contextmenu_size": 10,
    "display_notifications": true,
    "log": true,
    "log_path": ".",
    "log_file_prefix": ""
  },
  • log_contextmenu_size: 10 - How many items you will see in context menu of this application when you press right mouse button:

File.04

  • display_notifications: true/false - Show popup notifications when this application catch dist events

File.05

  • log: true/false - write all events to log file.
  • log_path: "." | "D:/log" - Where to write log files. "." - into folder where application runs.
  • log_file_prefix: "" - prefix for log files. This program always append current date at end of file name with format YYYY.MM.dd.

Extensions

"Extensions": [
    [{"archivers": ".tar|.jar|.zip|.bzip2|.gz|.tgz|.7z|.rar"}],
    {
      "office": ".xls|.xlt|.xlm|.xlsx|.xlsm|.xltx|.xltm|.xlsb|.xla|.xlam|.xll|.xlw|.ppt|.pot|.pptx|.pptm|.potx|.potm|.ppam|.ppsx|.ppsm|.sldx|.sldm|.vsd|.vsdx|.vdx|.vsx|.vtx|.vsl|.vsdm",
      "autodesk": ".dwg|.dxf|.dwf|.dwt|.dxb|.lsp|.dcl",
      "images": ".gif|.png|.jpeg|.jpg|.tiff|.tif|.bmp",
      "visual_studio": ".csproj|.sln|.vsix",
    },
    {
      "extensions03": ".cs|.xaml|.config|.ico",
    },
    {
      "extensions04": ".gitignore|.md",
    },
    {
      "extensions05": ".msg|.ini"
    },
    ".pdf|.html|.xhtml|.txt|.mp3|.aiff|.au|.midi|.wav|.pst|.xml|.java|.js|.php|.json|.exe|.html|.htm|.css|.csv|.dbd|.sql|.svg|.conf|.msi|.cptx|.mp4|.mp3|.flv|.dbf|.jsp|.rpm|.det|.dll",
	".pro",
	"trail.txt.[0-9]{2}",
	".dvb|.txt",
	".dbd", // diagrams dbForge
	".mp4|.ctb",
  ],

This is list of extensions for that application catch disk file events. WinAPI generate file events always for any files and disk. This is very huge count of events! So this is not convinent. So this is list of extension with devider '|'. I create single regular expression of this list. You can experiment with this format. See:

https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex?view=net-5.0

http://regexstorm.net/tester

JSON struct in this setting has no means. Program read only values. So you can create any hierarchy you want to classify extensions.

UserExtensions

  "UserExtensions": [
    {
      "extensions01": ".json"
    },
    {
      "officeword": ".doc|.docx|.docm|.dotx|.dotm|.rtf|.xls|.xlsx|.xlsm|.vsd|.vsdx",
      "visual_studio": ".csproj|.sln",
    },
    ".bmp|.gif|.jpg|.jpeg|.tiff|.tif|.js|.cs|.java|.exe|.dwg|.dxf|.rar",
    ".tar|.jar|.zip|.bzip2|.gz|.tgz|.7z|.rar|.pro|.dvb|.txt|.pdf|.png|.dll",
    ".msg",
    ".dbd", // Diagramm dbForge
    ".mp4",
    ".ico|.md|.ctb",
    ".mht|.html",
    ".vba|.bas",
    ".reg",
    ".pc3",
    ".mct",  // Midas
    ".svg|.xaml",
    ".[0-9]+", // ProE versions files
    ".g4",
    ".ifc|.obj",
    ".py",
    ".exe|.dll|.h|.c|.cpp",
    ".blend[0-9]*", // blender
    ".py",
  ],

Only these extensions any user see in the context menu.

File.06

FileNamesExceptions

  "FileNamesExceptions": [
    "~$"
  ]

Files with whese extensions will exclude to watch. Events of these files will exclude from the context menu and logging.

FoldersForWatch

"FoldersForWatch": [
    {
      "folder01": "D:\\", // may be string or array of strings. You can finish path with double backslash or without double backslash
    },
    {"locals":["E:\\Docs", "F:\\", "T:\\", "C:\\Users", ]},
  ],

Folders or disks for watch. JSON struct in this setting has no means. Program read only values. So you can create any hierarchy you want to classify extensions.

FoldersForExceptions

"FoldersForExceptions": [
    {
      "folder01": "D:\\temp"
    },
    "F:\\Enternet\\projects\\tender\\target"
  ],

If you want exclude some folders from watch so append them here. JSON struct in this setting has no means. Program read only values. So you can create any hierarchy you want to classify extensions.

Other

File.07

  1. Open setting file
  2. Reload settings

Author

email: [email protected]

filechangeswatcher's People

Contributors

alex-zaharow avatar satabol avatar

Stargazers

Пётр Рокосов avatar Алексей avatar Vladimir Zhilin avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

filechangeswatcher's Issues

Отличная программа! Спасибо!

Здравствуйте, спасибо Вам большое за такую прекрасную программу под свободной лицензией MIT!!!!

Добавил программу на сайт о свободном программном обеспечении - КонтинентСвободы.рф, вот ссылка на описание вашей программы.

Проект заброшен или еще будет развитие? Не бросайте программу, она очень классная!!!

Все равно программа известна только в русскоязычном сегменте, давайте все пункты сделаем на русском языке, так будет комфортно простым пользователям.

Также, очень важно добавить в раздел о программе информацию о лицензии!

А в будущем, разработать оконный интерфейс для общего сбора информации.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.