# m-fs-touch

> A command line to create dir or file with date prefix

Latest version **0.0.1** (published 2018-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install m-fs-touch
pnpm add m-fs-touch
yarn add m-fs-touch
bun add m-fs-touch
```

Provides the command `m-touch`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-09-25 |
| First published | 2018-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mask |
| Maintainers | qzcmask |
| Keywords | command, line, date, prefix |

## Links

- npm: https://www.npmjs.com/package/m-fs-touch
- npm.io page: https://npm.io/package/m-fs-touch

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2018-09-25

## README

## m-touch
'm-touch' is a command line to format file or directory name with date prefix.

## Usages

### Installation
```
npm i m-touch -g
```

Create file with default date format:

```
m-touch -f filename => today-filename, such as 20180925-test.js
m-touch --file filename
m-touch -f filename --format YMD => formatType-filename
m-touch --file filename --format YMDhms
```

Create directory with default date format:

```
m-touch -d dirName => today-dirName, such as 20180925-src
m-touch --dir dirName
m-touch -d dirName --format YMD => formatType-dirName
m-touch --dir dirName --format YMDhms
```

### YMDhms

```
Y: fullYear, such as 2018
M: month, such as 12
D: Day, such as 15
h: hour, such as 14
m: minute, such as 50
s: second, such as 50
```

### Contact

@author Mask
@email 923746590@qq.com

---
_Source: https://npm.io/package/m-fs-touch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
