Saturday, December 23, 2023

how to join org files and delete duplicates

delete

ls *.org | grep -v -E "(merge.org|init\.org|groovy\ black\.org)" | xargs rm

merges

awk '!seen[$0]++' *.org | grep -vE 'init\.org|groovy black\.org' > merge.org

No comments:

Post a Comment