
```python import glob for f in glob.glob('metadata/*/*.txt'): with open(f) as fp: data = fp.read() with open(f, 'w') as fp: fp.write(data.rstrip()) fp.write('\n') ``` for f in metadata/*/short_description.txt; do data=`cat $f`; echo $data > $f; done
2 lines
75 B
Plaintext
2 lines
75 B
Plaintext
Le magasin d'applications qui respecte votre liberté et votre vie privée
|