Skip to content

✍️ Gulp workflow to bulk rename files in a numbered order based on the original order determined by the user.

License

Notifications You must be signed in to change notification settings

jhammann/rename-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rename files

I had a bunch of files I wanted to keep in the original order but the filenames were all over the place so I created this workflow which takes a list of files (determined in input.js) and renames each of them by their index in the array using gulp-rename.

Installation

Clone this repository and execute the following command in the root of the cloned directory:

$ yarn install

After which you adjust input.js with your requested file order. Then execute:

$ gulp

After this you'll have a new directory (this script doesn't overwrite files) with the new files.

About

✍️ Gulp workflow to bulk rename files in a numbered order based on the original order determined by the user.

Topics

Resources

License

Stars

Watchers

Forks

Packages