Skip to content

Tag: linux

bgzip all VCF files in a directory?

So I’ve been trying to bgzip around 100 VCF files in parallel, but although the jobs are submitted and files get created there’s definitely something wrong. So far I’ve been trying: What is the correct way to do this? Thanks in advance! Answer If, as my websearches suggest, bgzip works the s…

How to list recently deleted files from a directory?

I’m not even sure if this is easily possible, but I would like to list the files that were recently deleted from a directory, recursively if possible. I’m looking for a solution that does not require the creation of a temporary file containing a snapshot of the original directory structure against…

Parsing a config file inside shell script

I am trying to parse an ini file inside a shell script. name.conf file: I could parse the values by the command I wanted to know if there was some way by which I could group the contents of my config and parse it name.conf file: I just need the values in a shell array say names and print them