Comment Comment by kwertyops ~/me $_ x = files('Music') ~/me $_ for item in x: > if 'Rick Astley' not in x['name']: > delete(x['path']) Shouldn’t that be: ~/me $_ x = files('Music') ~/me $_ for item in x: > if 'Rick Astley' not in item['name']: > delete(item['path']) ? parent kwertyops 3 years ago