Skip to content

Command line utility that performs various mildly useful tasks

License

Notifications You must be signed in to change notification settings

bernhof/filer-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Filer

Command line utiliy that performs various mildly useful file operations.

Usage

concat

Concatenates multiple files, optionally including a separator (-s) between each file and/or a header (-h) before each file.

Use \n for new lines and \t for tabs.

filer concat *.sql -s "\ngo\n" > output.sql
filer concat *.sql !create.sql -s "\ngo\n" -h "\n--{0}\n" > output.sql

delimit

Changes delimiter in a csv file.

Use \t to specify tab delimiter.

filer delimit semicolon.csv ";" "," > comma.csv
filer delimit tab.csv "\t" "|" > pipe.csv

shift-date-taken

Shifts Exif "Date Taken" property on photo files.

filer shift-date-taken *.jpg --shift-hours -8
filer shift-date-taken **\*.jpg --shift-years 1

About

Command line utility that performs various mildly useful tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages