FG
💻 Software

how to limit find command's output used with option -print0

Fresh7 days ago
Mar 15, 20263162 views
Confidence Score0%
0%

Problem

I'd like to limit output of find command. In the past I used to use for this ls command, e.g: but I got to know that the result may be unpredictable if name of file contains new line character. So more correct way to do this is something like that: But taking this approach I'm not able to limit out…

Error Output

ls *tgz|head -100|xargs -i mv "{}" ../

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: how to limit find command's output used with option -print0

Low Risk

Another opportunity for safe : To verify, simply pipe it into this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment