Giter Site home page Giter Site logo

poa00 / pwsh.movefilesintodatedirectories Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deadlydog/movefilesintodatedirectories

0.0 0.0 0.0 143 KB

Moves files from a directory into a new directory whose name is based on the file's date.

License: MIT License

PowerShell 100.00%

pwsh.movefilesintodatedirectories's Introduction

Move Files Into Date Directories

This PowerShell module will scan all files in the SourceDirectoryPath and then move them into directories whose name is based on the file's LastWriteTime date. Destination directories will be created if they don't already exist, using a name based upon the specified DestinationDirectoriesDateScope, and they will be created within the DestinationDirectoryPath. It is acceptable for the SourceDirectoryPath and DestinationDirectoryPath to be the same directory path.

A common use-case of this module is to move photos into date-named directories based on when the photo was taken.

You can use the Invoke-MoveFilesIntoDateDirectories.ps1 script to easily provide parameters and run the cmdlet.

You can grab the latest stable version from the Release page here.

Example

Some various files that were last updated on different dates:

Source directory screenshot

The destination directory containing the same files after the script ran and moved them into month date-named directories based on their LastWriteTime:

Destination directory screenshot

Changelog

See what's changed in the application over time by viewing the changelog.

Donate

Buy me a hot apple cider for providing this script open source and for free :)

paypal

pwsh.movefilesintodatedirectories's People

Contributors

deadlydog avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.