X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jUx9x73ECErRujlH tLHeljj5LrPDbX6VCy+9s+NEqf4hUjwEa4d1/7uwN0DmaOvJUKrkthsnBtf94la4 xXqiAg/Ijl+Bub8AwadEEOU9RSc37K9o0TMl4l4iGzVUmoDeG6En2Dkj8NcenN0D Ic6N+qCwP2hFUqwLiedNXXGzhdg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=BF/sfe0vrEFCOLg+ttlsvp Frsm8=; b=T88I0uuWqt5264qgcMrPW+aD1Kv/3lru87fzDKnB9ixlm1hqfWmMrM 4xIHlKoUmZrOYS400tB4o9lnk6z+JSqp1RLQ7agcNRxTdwyadskMWkfS+6Oc2m/H Ow2SOI/fmtQxhUiXYT9eCJkJbf9N1wqlOaxDn5WllnYUYrhdIbyOo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=nowadays, replying, gtk, explorer X-HELO: mail.avenger.ws DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avenger.ws; s=ethereal; t=1531197859; bh=U//q4vyg83IsJvhUUYFNrXw773uv5UVtPKrYJffcGXc=; h=Subject:To:References:From:Date:In-Reply-To; b=VPwBMcdoPvkDEcO50pu641JA4BsiwZNS0OlUxa0DcWLEktCq4knJuhiLgIvxe8uIE peDghfTlgIPxlM7lCmfz0sTFCBEMDS24IjpUpCrUCxv0uRKgbhZ/5RC2ebjxbnYJrc CwzhjZH03nUOBSKZbNWCiKxMeytm7zwgKwHp7qJI= Subject: Re: cleanup disk space To: cygwin AT cygwin DOT com References: <20180708174540 DOT GA32080 AT rus DOT uni-stuttgart DOT de> <23364 DOT 12720 DOT 381316 DOT 199665 AT gargle DOT gargle DOT HOWL> From: Heavenly Avenger Message-ID: <17a2c4c5-8017-de94-4054-710d36f43304@avenger.ws> Date: Tue, 10 Jul 2018 01:44:56 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <23364.12720.381316.199665@gargle.gargle.HOWL> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hello! I maybe am getting the message underway and I don't see the history on the message itself, and you seem to be replying somebody that posted a question before I joined the list. But I believe that if space is a concern there are two main points I can think of: - Selectively installing only packages you need. I do this myself, get rid of any x, gtk, kde, gnome related stuff - Using NTFS compression. You can do this by a per-folder level and compress just given folders (or files) "in-place" without making it unable to run/open the files. NTFS does this compression transparent to the user -- at the cost of additional CPU cycles to decompress the file when a read is attempted. To enable NTFS compression, you can do it for the whole disk. Open explorer, right-click disk, properties, and check the "compress this drive to save disk space" in the dialog that is displayed. You can do this for specific files/folders by right-clicking them, clicking 'properties', then 'advanced' and then checking the compression-specific checkbox that's displayed. This should go smoothly with cygwin... but nowadays I believe the space cygwin spends is negligible comparing to the size of the available disks... Zipping the files with bzip2/gzip/whatever may work for some editors that know to expand the files before opening, but that won't be the case in the majority of the applications. The transparent and native compression should be the best shot to shrink a big and cluttered cygwin installation in no time. Again, for the (potential) cost of performance. Hope this helps! On 7/10/2018 1:10 AM, bzs AT theworld DOT com wrote: > I hesitate to jump in here but what about the common compression > programs cygwin provides like bzip2 and xz? > > Maybe everyone knows about them and clearly you can't do this on files > you actually need to use (e.g., executables, tho looking at /usr/bin > some are 20MB each and if you know you don't actually run them > ever...) And even an error can generally be undone with a simple > uncompress command within reason. Don't compress the respective > uncompress command! > > And zip and tar can be used to package up entire directories or > wildcard matched files in one command. > > And if you find you really don't miss what you packed up they can be > moved off disk entirely to a thumb drive or CD/DVD or whatever for > more savings tho that's also true of the uncompressed versions but zip > or tar archives are particularly handy for this. > > Maybe it's too obvious, apologies. > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple