Git Product home page Git Product logo

recruiter-spam's Introduction

recruiter-spam

Gmail filter for recruiter domains

Pull requests are more than welcome!

$─► ./genfilter.sh --help
Usage: genfilter.sh [OPTION]...
Generate a Gmail filter from a list of domains

  -h, --help     Display this help message and exit
  -l, --list     The list of domains/emails to read (default: list.txt)
  -f, --format   The output format (default: xml)
  -o, --outfile  The output file name (default: mailFilters.xml)

PS> get-help .\genfilter.ps1

NAME
    ./genfilter.ps1

SYNOPSIS
    Generate a mail filters file for blocking Evil Recruiter Spam


SYNTAX
    ./genfilter.ps1 [[-list] <String>] [[-format] <String>] [[-outfile] <String>] [<CommonParameters>]


DESCRIPTION
    This PowerShell script will generate either Gmail style mail filters (in XML format)
    or CSV style mail filters (perfect for ZOHO and perhaps other mail providers)

    By default, the "list.txt" file will be consumed and a mailFilters.xml file will
    be generated. This is ideal for Gmail filter imports. You can optionally provide
    a different file name or path, a file format (currently "csv" or "default" which is XML),
    and and output file path/name. The default output file is mailFilter.<file extension here>,
    such as mailFilter.xml or mailFilters.csv


RELATED LINKS
    The GitHub repo for this script can found here: https://github.com/jceloria/recruiter-spam

REMARKS
    To see the examples, type: "get-help genfilter.ps1 -examples".
    For more information, type: "get-help genfilter.ps1 -detailed".
    For technical information, type: "get-help genfilter.ps1 -full".
    For online help, type: "get-help "genfilter.ps1 -online"

Examples for the PowerShell script:

PS>.\genfilter.ps1

    -> default options used of 'list.txt', 'xml' and 'mailFilter.xml'
		
PS>.\genfilter.ps1 "list.txt" "xml" "mailFilters2.xml"

    -> default file input / export file format, but the output file is called "mailFilters2.xml"
		
PS>.\genfilter.ps1 "list.txt" "csv" "mailFilters.csv"

    -> generates a CSV file called mailFilters.csv in the same directory

recruiter-spam's People

Contributors

jceloria avatar jasond94 avatar johnceloria avatar uselesslemma avatar

Watchers

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.