An open API service indexing awesome lists of open source software.

https://github.com/markrickert/files_to_dir

Takes a set of files passed as arguments and loops over them. Creates a directory with the exact same name and then moves that file into the new directory.
https://github.com/markrickert/files_to_dir

Last synced: about 1 year ago
JSON representation

Takes a set of files passed as arguments and loops over them. Creates a directory with the exact same name and then moves that file into the new directory.

Awesome Lists containing this project

README

          

# What it does:

Loops over a set of files and creates individual folders with the exact same name, then moves the appropriate file into the aforementioned folder.

# How to use:
Pass the script a set of files like this:

```./files_to_dir.sh *.pdf```

It will turn this:

```1.pdf
2.pdf
3.pdf```

into this:

```1/1.pdf
2/2.pdf
3/3.pdf```