Hi,
I’d like to request a feature for bids2table that allows the CLI to accept file paths via standard input (stdin) instead of requiring a root directory. This would make it easier to work with file paths from various sources like cloud storage or environments where direct access to the entire directory is limited.
Examples:
-
Cloud storage:
aws s3 ls s3://my-bids-dataset/ --recursive | awk '{print $4}' | bids2table
-
Integration with other tools:
find /my/data -type f -name "*.nii.gz" | bids2table
-
From a file:
cat bids_file_paths.txt | bids2table
-
Limited access:
echo "/restricted_path/sub-01/anat/sub-01_T1w.nii.gz" | bids2table
Let me know what you think!
Thanks!
Hi,
I’d like to request a feature for
bids2tablethat allows the CLI to accept file paths via standard input (stdin) instead of requiring a root directory. This would make it easier to work with file paths from various sources like cloud storage or environments where direct access to the entire directory is limited.Examples:
Cloud storage:
Integration with other tools:
From a file:
cat bids_file_paths.txt | bids2tableLimited access:
Let me know what you think!
Thanks!