cd dir_containing_files
sed -i '/_core\:/d' *
sed -i '/default_config_hash/d' *
This deletes lines containing '_core' or 'default_config_hash' in all textfiles in the 'dir_containing_files' directory
- Tags
- bash
cd dir_containing_files
sed -i '/_core\:/d' *
sed -i '/default_config_hash/d' *
This deletes lines containing '_core' or 'default_config_hash' in all textfiles in the 'dir_containing_files' directory