Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Any way around "Argument list too long"?
Date: Mon, 18 Jul 2011 21:57:53
Message-Id: CAN0CFw3wQnP9GErb8R+gvnazE0wKMvqzT8=p+yaaPKp4_BNbzQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Any way around "Argument list too long"? by Neil Bothwick
1 >> Alright, find is tricky.  Is this the right spot for -delete?
2 >>
3 >> /usr/bin/find /home/user -type f -name "*-`/bin/date -d 'yesterday'
4 >> +\%Y\%m\%d`*.jpg" - delete
5 >
6 > Yes, but if you don't want irreversible mistakes, move the files instead.
7 >
8 > find /home/user -type f -name blah -exec mv -t ~/.Trashcan "{}" +
9
10 Thanks Neil and everyone.
11
12 - Grant