I need to tar-gzip files below a certain size in a directory. I tried the command suggested from  and it works, but when I changed the argument for find -size to -1G, it ignores some files even when the file size is below 1GB. When I supplied -100M and even -900M those files were not ignored. Some information about the files: The files in the directory consists of several medium-sized files (1-200 MB) and thousands of tiny files (&lt;1 MB each). The medium-sized files are executables (.exe extension). The tiny files are just some random files with either no extension or .lat extension. When I supplied -900M, all the tiny and medium-sized files are returned as the result. However, when I supplied -1G, all the medium-sized files and many tiny files are missing from the result. Question: Is there anything I miss here about the usage of -size -1G? Other (possibly useful) info: I'm running Ubuntu 15.04 as a VM on my Windows 8.1. If anyone suspects it has something to do with the files I'm working with, please let me know and I will upload the all the files in question. I'm rather new to Unix/Linux and this is my first question in superuser forum so if I have unintentionally violated any rules please kindly let me know.
I noticed that the these two commands to list files below 5 GiB produce different results:  find . -type f -size -5368709120c find . -type f -size -5G   Specifically the one that uses kilobyte unit (5368709120c) returns additional files that are larger than the maximum file size returned by the one that uses the GiB unit (5G).  From the find manual page I read the following:  -size n[cwbkMG]           File uses n units of space.  The following suffixes can be used:           `b'    for 512-byte blocks (this is the default if no suffix is used)           `c'    for bytes           `w'    for two-byte words           `k'    for Kilobytes (units of 1024 bytes)           `M'    for Megabytes (units of 1048576 bytes)           `G'    for Gigabytes (units of 1073741824 bytes)  The size does not count indirect blocks, but it does count blocks  in sparse files that are not actually allocated.  Bear in mind that the `%k' and `%b' format specifiers of -printf handle sparse files differently.   The  `b'  suffix always denotes 512-byte blocks and never 1 Kilobyte blocks,  which is different to the behaviour of -ls.   So, given that the unit of G is 1073741824, 5G should be 5368709120c. Is the issue due to how sparse or indirect blocks are counted?  Thanks in advance for the help.
If $\lim_{x \to +\infty} f'(x) = L$, then $\lim_{x \to \infty} \frac {f(x)}{x} = L$ I'm trying to solve this question:     Let $f:[0,+\infty) \to \mathbb{R}$ be derivable and $\lim_{x \to +\infty} f'(x) = L$, then $\lim_{x\to \infty}\frac {f(x)}{x}=L$.   I'm trying to solve this question using l'Hôpital rule, but I couldn't use it, because I don't know if $\lim_{x\to +\infty} f(x)=+\infty$.  I need help.  Thanks a lot. Restrict the scope of a command to the execution of another command Some icons are correct, and some are whack. Turns out it's not just the hot questions list, but the whole icon set. How can I create a brace spanning multiple lines on the right side of an itemized list? I have an itemized list:  \begin{itemize}     \item Lorem     \item Ipsum     \item Sit     \item Dolor     \item Amet \end{itemize}   I want to create an accolade on the right side of 'Lorem' and 'Ipsum', and add a bit of text at the point of the accolade. The level of this text should be between the first and the second line. How can I get this done? Can a Filipino citizen with no Korean visa with a long layover in Seoul take the airport free city tour? I am a Filipino citizen traveling from Saipan to Manila via Seoul, with 13 hours layover.  Do I need a Korean visa to take the airport free city tour? Probability of area being greater than 0.5 with random lines The security guard problem Which function ($f$) is continuous nowhere but $|f(x)|$ is continuous everywhere? Which function ($f$) is continuous nowhere but $|f(x)|$ is continuous everywhere?   I found this question , the question seems much interesting but for obvious reason it is closed there, I was wondering how to derive such a function? Spam gets fairly heavily punished - 100 reputation penalty, if I recall correctly, and the content itself gets hidden in the revision history.  Now if we just have some rubbish:     dfajiojaifojadiofjadhigaowkokaomdiovnuiyhioqejgioqejgio   I'm not talking about someone posting a question or comment as an answer (i.e. possibly just not knowing the rules or being frustrated with not having the required privileges), or someone making some really horrible attempt at answering the question, I'm talking about an answer that clearly shows absolutely no observation of any content on the page.  This, in my opinion, causes a similar amount of harm to the site - I'm inclined to say the fact that someone posts spam isn't as important as the fact that they're posting something that needs to be deleted, since we're likely going to delete it pretty quickly, and they're (likely) behaving maliciously, or am I wrong?  Why don't we treat this equally harshly, or why do we treat spam as harshly as we do?    Side notes:  I'm sure I've seen a few times where users get punished for posting spam when their link is likely actually relevant to the question and useful (should I flag these? They are still link-only answers, so they shouldn't really come back, and often I'm just not sure enough). While false positives are bad, it seems worse that we're treating worse behaviour better.  I'm assuming that's not what "abusive" in this reason is referring to: (I'm also not sure, off the top of my head, how this one gets treated)     It is offensive, abusive, or hate speech From Stewart 7e pg 614 # 9  "One model for the spread of a rumor is that the rate of spread is proportional to the product of the fraction y of the population who have heard th eremor and the fraction who have not hear the rumor. a) Write a differential equation that is satisfied by y. b) Solve the differential equation c) A small town has 1000 inhabitants. At 8 am 80 people have heard a rumor. By noon half the town has heard it. At what will 90 percent of the population have heard the rumor? "  The wording of this is very ambiguous to me and I can't really make sense of it.  They mention a product, so I know that something is being multiplied and that y is a fraction which belongs to the population who have seen it so I think that "have not" heard is a constant, and that y is a fraction taht represents who have. I tried to set this up and it is the wrong answer. I am not sure what they want from that, the English usage is too ambiguous to make sense of it. The complete lack of punctuation is what really does it. The no. of all possible matrices of order $3\times 3$ with each entry $0$ and $1$ and $ -1$. TikZ arrow emanating from node at an angle for a distance How do I draw a line of length l and at an angle of a from a circular node N in TikZ? How to change the voltage polarity in an inverting amplifier? I want to implement a simple circuit which can map -10V  +10V voltage range to 0V 5V voltage range. Thus I'm planning to use two op-Amps, one for the slope and the other for the offset. So basically I'm planning to use an inverting amplifier and a summing amplifier consecutively.  But Inverting amplifiers multiplies the input voltage with a minus sign. I need a positive slope. How can I overcome this?  Also Could you gibe me any ideas for a cheap op-Amp models for this purpose? Setting the editing style on a UITableViewCell Why won't my computer go to sleep automatically? Windows 8 is set to sleep after 30 mins, and it used to work, but recently it's started refusing to sleep. (I can still manually ask it to go to sleep without any issue.)    I was having issues a while ago, but it was with my network adapter. That's since been disabled, so it's definitely not that:    I've checked to see what devices are able to wake up my machine, but it only appears to be my mouse:    Which is odd, because I haven't recently changed my mouse, and more confusing still: The monitor does go to sleep just fine. If it was actually the mouse keeping my system awake, I'm pretty sure the monitor wouldn't go to sleep.  I've checked my Wake Timers, and nothing:    I've also checked my existing requests...  UPDATE: I found something. What to do with it, I don't know...    Note: Even when /requests says that there's "NONE" under every category, my machine still won't sleep(!).    In short: How can I tell what's preventing my computer from Sleeping?    UPDATE: Ok, so I now have a few more pieces of the puzzle. I came back to my computer and it was ASLEEP! Lawks! It seems that the only times it doesn't sleep is if VLC Player is open, even if a video isn't actually playing.  UPDATE UPDATE: Ok, so it won't sleep sometimes when VLC Player ISN'T running, either. Bah! Does this seemingly elementary question require König's theorem? What book features people living in a tree who move up it in a bubble? How do I run a GUI app via SSH? I noticed that if I transfer a few large files between two hard drives, it's pretty speedy, at around at least 30&nbsp;MB per second, but if I transfer thousands of files less than 5&nbsp;KB, it is pretty damn too slow.. around 1 to 2&nbsp;MB per second.   Is there a way to speed up the copy/paste process with thousands of small files on Windows 7? How to host a single website on multiple servers? I'm planning on releasing an iOS app that downloads video from my server. If hundreds of people on the launch day try to do this, then my website and the services that my server provides will clearly go down. How do you host a website on multiple servers? When someone tries to access my site, how is their request passed to an available server? How do Apple and Google do it? Thanks for your help.