Git Product home page Git Product logo

hepia-projects-smart-folder's Introduction

Search folder

This project was done in the context of the System's Programming semester project at HEPIA.

Authors: David Gonzalez & Claudio Sousa

Summary

The project consists in developing a tool that creates a dynamic folder containing the result of a file search.

The tool is used by specifying a destination folder, a source folder and an optional filtering expression. The destination folder is created and inside is maintained an up-to-date list of symbolic links pointing to the files found within the source folder matchin the filtering expression.

The filtering expression syntax is closely inspired by the find command. The user may filter files according to the following criteria: name, group, owner, group owner, permission, size, access/modified/metadata time.

The criteria above may be combined using logical operators (and, or, not) or parenthesis.

Examples

This example links all backup files that are bigger that 10 mega whose creation date is older than 30 days:

./searchfolder destdir backup -name .bkp -size +10M -ctime -30d

This example links all files on the system whose permission are for everyone and the group owner is root or the owner is not root:

./searchfolder destdir / (-group root -or -not -user root) -and -perm 777

Documentation

For further information please have a look at:

hepia-projects-smart-folder's People

Contributors

claudiosousa avatar dave0005 avatar

Watchers

 avatar James Cloos avatar

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.