Skip to content

Commit

Permalink
Create reorganize_nifti_files.md
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld authored Jul 12, 2018
1 parent a684c43 commit 09ebbaf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/reorganize_nifti_files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

```
This script searches through a directory for all nifti files and prints
them to the output screen in such a way that you can easily make a script
to reorganize your files to BIDS.
You should save the output to a script, edit the script and then execute it.
Use as
reorganize_nifti_files -c <command> -o <outputdir> -x <extension> -s <sessionprefix> [inputdir]
Optional arguments
-c <command> command to execute, eg. mv or cp
-o <outputdir> output directory
--subjectprefix=<string> subject prefix (default = ""
--sessionprefix=<string> session prefix (default = "mri"
--datatype=<string> data type, can be anat|func|dwi|fmap (default = "anat"
```

0 comments on commit 09ebbaf

Please sign in to comment.