Too many files for ls

Using ls you receive the error that there are too many arguments:

Example:

find /path/to/files/ -name "*.ZIP" -exec basename {} \;

Comments

Popular posts from this blog

Database, schema, and table sizes in Greenplum

Greenplum update with multiple tables

Show running queries on Postgresql/Greenplum