rm-numbered-files

Remove numbered files, such as foo.1, foo.2, foo.3, etc.

https://github.com/sixarm/rm-numbered-files

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Remove numbered files, such as foo.1, foo.2, foo.3, etc.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 9 years ago · Last pushed about 1 year ago
Metadata Files
Readme Code of conduct Citation Codeowners

README.md

Remove numbered files

This script removes numbered files and related kinds of archive files.

Contents:

Introduction

Syntax:

$ rm-numbered-files [dir]

Example to do the current directory:

$ rm-numbered-files

Example to do a specific directory:

$ rm-numbered-files /foo/goo

Which files?

This deletes files with names that end in a separator then number:

  • foo.1, foo-2, foo_3, etc.

The file name separator can be a period, dash, or underscore.

Related

These scripts are for related purposes:

Compatibility notes

We prefer to be more compatible rather than system-specific.

  • To delete files, we prefer -exec rm vs. -delete. The former is more compatible, the latter is faster.

  • To regex match, we prefer patterns to be basic vs. extended. The former is more compatible, the latter is more modern.

  • We prefer POSIX code vs. shell-specific code.

Tracking

  • Command: rm-numbered-files
  • Website: http://sixarm.com/rm-numbered-files
  • Cloning: https://github.com/sixarm/rm-numbered-files
  • Version: 4.0.0
  • Created: 2013-12-09
  • Updated: 2019-01-01
  • License: GPL
  • Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)
  • Tracker: 7f2b1f4ed3481e5912a9f4e5f5a92a34

Owner

  • Name: SixArm
  • Login: SixArm
  • Kind: organization
  • Email: sixarm@sixarm.com
  • Location: San Francisco

SixArm Software

Citation (CITATION.cff)

cff-version: 1.2.0
title: Remove numbered files
message: >-
  If you use this work and you want to cite it,
  then you can use the metadata from this file.
type: software
authors:
  - given-names: Joel Parker
    family-names: Henderson
    email: joel@joelparkerhenderson.com
    affiliation: joelparkerhenderson.com
    orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
  - type: url
    value: 'https://github.com/SixArm/rm-numbered-files/'
    description: Remove numbered files
repository-code: 'https://github.com/SixArm/rm-numbered-files/'
abstract: >-
  Remove numbered files
license: See license file

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 12
  • Total Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joel Parker Henderson j****l@j****m 12
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels