actuarysailor/Local File Copy
A NodeJS GitHub action to search for files matching a regex pattern and copy them to another folder, with options to retain the directory structure or flatten it.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source-directory | Source directory to copy files from | no | ./tests/source |
| destination-directory | Target directory to copy files to | yes | ./tests/destination |
| file-filter | Regex pattern to use in filtering files to be copied | no | [^\r\n\t\f]+ |
| flatten-directories | Boolean value to determine whether to retain directory tree or flatten to a single folder | no | false |
Outputs
| name | description |
|---|---|
| copied-files | List of files copied and their paths |