Skip to content

Commit

Permalink
Update README.md for v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joepitt91 committed Oct 3, 2016
1 parent 64ca007 commit 300b4e5
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
# DateFix
Rename inconsistently named photo and videos to "yyyy-mm-dd hh mm ss.ext" format and set file timestamps to match.
**Standardise Photo and Video filenames and timestamps.**

DateFix.ps1 accepts a folder from the user then works through the files (optionally recursing) to name them as consistently as possible using the yyyyMMdd_HHmmss.ext format.

The scripts first tries to use the embedded Date Taken EXIF Date, if this is not available the file's current filename is used.

## Usage:

1. Create a backup of the target folder
1. **Create a backup of the target folder**
2. Open PowerShell
3. Run


/path/to/DateFix.ps1
4. Select the target folder
5. Answer if you want to process sub-folders
DateFix.ps1 [[-Path] <String>] [[-Recurse] <Boolean>] [-Verbose]
4. If -Path was not provided, then select the target folder
5. If -Recurse was not provided, then answer if you want to process sub-folders
1. Y - Process Sub Folders,
2. N - Process selected folder only,
3. C - Cancel, make no changes.
6. Check the results are as expected
5. Delete the backup of the target folder

### Options

You can also run


/path/to/DateFix.ps1 -verbose
to see details of what is happening.
* **-Path** The root folder to be processed, e.g. C:\Users\Username\Pictures\
* **-Recurse** Whether or not to recurse through sub-directories of the root folder.
* **-Verbose** Enables verbose output.

0 comments on commit 300b4e5

Please sign in to comment.