dDocent
dDocent copied to clipboard
too many arguments for ls and rm
I haven't experienced this directly, but was contacted by someone using dDocent on a lot of samples such that calls to ls piped into other things created errors where the message said there were too many arguments for ls. This also occurred towards the end of the pipeline where things like rm mapped.*.bed were occurring.
solution
- Replace all calls to
lswith calls tofind - replace instances of
rm ...withfind . -name ... | rmor similar