$(which zip) -r ../data.zip .   The contents of the folders are changing dynamically overtime, I tested it first with including huge.pdf file and later deleted it, but still data.zip stays the same size. On unzipping I could see the huge.pdf file there.  I wish that zip command overrides the existing archive completely.   and I'm executing this shell command in an application (nodejs)  Edit: I don't think so the linked question is duplicate.
about Linux's zip utility says this about the -u flag:     Replace (update) an existing entry in the zip archive only if it has been modified more recently than the version already in the zip archive. For example:          zip -u stuff *   will add any new files in the current directory, and update any files which        have been modified since the zip archive stuff.zip was last created/modified.   My question is, if a particular file has been removed since the last time it was zipped, whether -u will recognize that the file has been removed and thus remove it from the *.zip file?  Or, lacking timestamp information (since the file is now removed), it will leave the backed up file in *.zip, since there is no "newer" file?
I want to make a shell alias that starts a certain program and also changes the title of the terminal to the name of the program.  How can I do that?  In case it matters, I am running the terminal on Ubuntu and connecting to a Debian server via ssh. Is there a term for someone who "can see multiple perspectives"? A colleague of mine is trying to describe herself as "capable of seeing a situation from multiple perspectives" or "able to look at the big picture from various viewpoints". I feel like there must be a better way to get this point across.  Is there a more concise way to describe this characteristic? How many RSA keys before a collision? What defines a PC's consciousness of self, memories and knowledge? Agreeing on a single shortened nomenclature? I've noticed across various stack exchange sites that when they refer to their own stack exchange on their site, they'll shorten the name to something similar to either:  EE.SE (Electrical Engineering Stack Exchange) OR Tex.Sx (LaTeX Stack Exchange)  Essentially they'll do XX.SE or XX.SX which has the possibility to generate some confusion for new users.    Have I not visited enough sites and just noticed an outlier or would it be beneficial for Stack Exchange sites to agree on a shortened name nomenclature? Plotting complex numbers Probability to obtain more than X with 3 dice. Where are the key wardens and where are my Infernal Machines to create a Hellfire Ring/Hellfire Amulet? In order to obtain a Hellfire Ring or Amulet, one has to work their way through the Uber Boss system of harvesting machines and organs to produce a legendary ring or amulet ().  To create the infernal machine required to open the portals to the Ubers, the keys are drops from mobs nick named Key Wardens.  Where are the various key wardens?  Are there any requirements for making the machines drop? What's the drop rate on different difficulty settings? Find no. of non negative integer solutions of $a+2b+3c = 200$ I want to find number of the non negative integer solutions of $a+2b+3c = 200$ (answer can contain $a,b,c = 0$)  Example one of the solutions is $a = 100, b = 50, c = 0$  I used stars and bars trick and here i get is  $\dfrac{\dbinom{200+2}{2}}{2 \times 3}$ but it is incorrect  any type of math is welcomed    what I have learnt from stars and bars technique is to find the solutions of $x+y = n , x,y,n &gt; 0$ are positive integers but I am confused with equation of type $ax+by = n$ where $a , b&gt; 1$ AND gate made out of transistors letting current pass despite only one input high I recently built a gate with transistors, however my meter reads 1.6 volts when only input B is high, and 2.3 while both are high. How can I fix this? (I used 3 volts instead of 6 and 2k instead of 10k) For which values does the Matrix system have a unique solution, infinitely many solutions and no solution? Given the system:  $$\begin{align}  &amp; x+3y-3z=4 \\   &amp; y+2z=a \\  &amp; 2x+5y+(a^2-9)z=9 \end{align}$$  For which values of a (if any) does the system have a unique solution, infinitely many solutions, and no solution?    So I am getting that it has: infinitely many solutions at: (-1)    No solution at (1)    Unique solution at (-1,1)    AM I RIGHT?? Understanding the parameters inside the Negative Binomial Distribution I was trying to fit my data into various models and figured out that the fitdistr function from library MASS of R gives me Negative Binomial as the best-fit. Now from the  page, the definition is given as:     NegBin(r,p) distribution describes the probability of k failures and r   successes in k+r Bernoulli(p) trials   with success on the last trial.   Using R to perform model fitting gives me two parameters mean and dispersion parameter. I am not understanding how to interpret these because I cannot see these parameters on the wiki page. All I can see is the following formula:    where k is the number of observations and r=0...n. Now how do I relate these with the parameters given by R? The help file does not provide much information either.   Also, just to say a few words about my experiment: In a social experiment that I was conducting, I was trying to count the number of people each user contacted in a period of 10 days. The population size was 100 for the experiment.   Now, if the model fits the Negative Binomial, I can blindly say that it follows that distribution but I really want to understand the intuitive meaning behind this. What does it mean to say that the number of people contacted by my test subjects follows a negative binomial distribution? Can someone please help clarify this? W and Z bosons are observed/discovered. But as force carrying bosons they should be virtual particles, unobservable? And also they require to have mass, but if they are virtual they may be off-shell, so are they virtual or not. OED says:     doobie: a marijuana cigarette    Origin unknown. A relationship with dobby has been suggested.    dobby/dobbie: A silly old man, a dotard, a booby. Dialectal.      First citations:    1967   J. B. Williams Narcotics &amp; Hallucinogenics. Dubbe, Negro slang for a marijuana roach.    1982   A. Maupin Further Tales of City 95,  I smoke a doobie at lunch.   But I just chanced upon  in Yahoo Answers (don't laugh! :) where someone posted:     "It's obvious that Shaggy's a , I'm sure he's been feeding Scoob a bit of his hash and whatnot."    Scoob = , cartoon "pet" dog of constantly-hungry hippie/village idiot Shaggy (from 1969)   I'm not entirely convinced that 1967 dubbe was necessarily a significant factor in the appearance of  since around 1970 (the hippie era, some might say).  So I'd like to know whether it's credible to claim the usage arose (primarily?) through association with the TV show (specifically, the two characters therein closely associated with marijuana). How to create a table with merged columns and rows, and wrapped text, like in MS Word? Placement of question mark when terminal quote has no question mark but sentence does Possible Duplicate:          If I'm quoting something someone said and the quote does not have a question mark, but I want to end the sentence with a question mark, would it be     Are you sure she said "Spicy?"   or       Are you sure she said "Spicy"? Which is correct: "has died" or "died"? When I open this ssh tunnel:  ssh -nXNT -p 22 localhost -L 0.0.0.0:8984:remote:8983   I get this error when trying to access the HTTP server running on localhost:8984:  channel 1: open failed: administratively prohibited: open failed   What does this error mean, and on which machine can you fix the problem? What should be done with questions that have been resolved as a comment instead of an answer? How far does a rogue move when dashing twice using Cunning Action? A rogue receives a bonus Cunning Action, and one option is to Dash. My understanding is a Dash allows a player to move up to twice his speed for his turn.  If a rogue is using a regular action to Dash (hence, is already dashing) can he also use his cunning action as a bonus to Dash again — effectively moving 4 times normal speed in a turn?