Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a problem using find

find ./  -mtime +7

Value too large for defined data type

because of 2 Gb file (backup) on x32 VDS and it is not possible to reinstall OS.

I need to remove old files but this error makes not possible to use find + xarg + rm.

Please advise a solution.

Reinstallation of GNU coreutils did not help. Also file have name with creation date, for example "2012_04_03.tar", may be this can be used for removing old files.

Thanks

share|improve this question
add comment

1 Answer

Seems, that this explanation may help you.

Short description: This error means that your version of the utilities were not compiled with large file support enabled. You can try to recompile it with large file support and if you're lucky everything will be fine =)

share|improve this answer
    
Can you describe exact way of doing this? Because your link says This is typically done by defining -D_FILE_OFFSET_BITS=64 or some such. It is system dependent and nothing concrete –  Pavel Mishin Apr 18 '12 at 16:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.