All pastes #2104232 Raw Edit

Anonymous

public text v1 · immutable
#2104232 ·published 2012-01-20 02:08 UTC
rendered paste body
ls *.ogm | xargs -i basename {} | xargs -i ls {}

*some files*
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option   
*more files but not all, died after the first filename including a quote*



ls *.ogm | xargs -0 -i basename {} | xargs -0 -i ls {} 
ls: cannot access *ALL the filenames plus the newlines concatenanted*
: File name too long