0.1.3 • Published 6 years ago

@drunk/recode v0.1.3

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Recode

Changes file encoding

Example (CLI)

File structure:

<root dir>
│   some_file.txt [UTF-8]
│   data.dat [UTF-8]
│
└── Charlies Folder
    |   .dot-file.txt [UTF-8]
    │   todo_list.csv [UTF-8]
    │   charlie.txt [UTF-8]
    │
    └── Some Folder
            childs.csv [UTF-8]
            sisters.csv [UTF-8]
            wife.txt [UTF-8]
            sexy.png

Command Line:* (Executed in <root dir>*)

recode --glob **/*.txt --encoding windows-1252 --cwd ./Charlies_Folder --dot-files

comment: <> (TODO: NodeJs way)

Result:

<root dir>
│   some_file.txt [UTF-8]
│   data.dat [UTF-8]
│
└── Charlies_Folder
    |   .dot-file.txt [Windows-1252]
    │   todo_list.csv [UTF-8]
    │   charlie.txt [Windows-1252]
    │
    └── Some_Folder
            childs.csv [UTF-8]
            sisters.csv [UTF-8]
            wife.txt [Windows-1252]
            sexy.png
0.1.3

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago