From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 7AA821F619 for ; Thu, 12 Mar 2020 16:24:12 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jCQco-0007BZ-Je; Thu, 12 Mar 2020 16:23:58 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jCQcn-0007BK-0q for sox-users@lists.sourceforge.net; Thu, 12 Mar 2020 16:23:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V3RGvPczOzrbJmT3WmtyWBAp396C3HMXGwu2Wek3bYI=; b=CETNpXdfpLzjik67R62q5iMxdy YiGIVjW++e9rYqIMtFQqK/Un0dFz1iib2Rhu5g3UNJaipCBrARtcw9V9mxXhgktscNnR7CAMUyugl TH0vgkCWSZxpfRhCDTHz45ELxpliTOs6cDXl/4JMuvAqBQTowA+CtIoR7Hfada3CJN98=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=V3RGvPczOzrbJmT3WmtyWBAp396C3HMXGwu2Wek3bYI=; b=kcED4C0/qbSfIqj5QCjm10eS59 GrSWE0Pc0Ql/xrEvGA4PqmoVunK8omQo8p1DqKLJpUjFpsSGoq3kP+OY/yNYF/a7J9yW6HdAuUJvt J95tnBUmRnHbsUemdAtk+GzuBPUIQce3LVqosRE+dX+bLr2coSHk19akO+YI/3jAsGcs=; Received: from 10.mo68.mail-out.ovh.net ([46.105.79.203]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jCQcg-009WDR-K4 for sox-users@lists.sourceforge.net; Thu, 12 Mar 2020 16:23:56 +0000 Received: from player738.ha.ovh.net (unknown [10.108.42.66]) by mo68.mail-out.ovh.net (Postfix) with ESMTP id 425F315F4DC for ; Thu, 12 Mar 2020 14:55:23 +0100 (CET) Received: from chicoree.fr (reverse-177-9.fdn.fr [80.67.177.9]) (Authenticated sender: sylvain@chicoree.fr) by player738.ha.ovh.net (Postfix) with ESMTPSA id 441121076B10C; Thu, 12 Mar 2020 13:55:20 +0000 (UTC) To: "K. H. Hom" , sox-users@lists.sourceforge.net References: <5uRve-2wMI_dhTarMCJCXFc5MQZRbwySb5wnh_Xcn_kp3AULL5-tGIGpGpKjVvklRizhpZU1n7ZNLfJB5A7PsLhw6D2uC2RkhFGNiPxGOIU=@protonmail.com> <20200308160922.ypdu2j2k5u24mqd2@fastmail.com> <13949vydQ3L3riLI8FYWQwzzAmNyMMsuVI27Uhw9grc5IYCO665TrR3LyQX4i4wP7BqbNe3yqaHDbH-4Hf252HT4jTUZYzxKT4VpyX5PPtI=@protonmail.com> From: Sylvain Leroux Message-ID: <1638b112-552e-085d-bbf2-bb22f6905bfb@chicoree.fr> Date: Thu, 12 Mar 2020 14:55:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <13949vydQ3L3riLI8FYWQwzzAmNyMMsuVI27Uhw9grc5IYCO665TrR3LyQX4i4wP7BqbNe3yqaHDbH-4Hf252HT4jTUZYzxKT4VpyX5PPtI=@protonmail.com> Content-Language: en-US X-Ovh-Tracer-Id: 4560457575678381710 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddvhedgheelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefuhihlvhgrihhnucfnvghrohhugicuoehshihlvhgrihhnsegthhhitghorhgvvgdrfhhrqeenucffohhmrghinheptghhihgtohhrvggvrdhfrhenucfkpheptddrtddrtddrtddpkedtrdeijedrudejjedrleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejfeekrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepshihlhhvrghinhestghhihgtohhrvggvrdhfrhdprhgtphhtthhopehsohigqdhushgvrhhssehlihhsthhsrdhsohhurhgtvghfohhrghgvrdhnvght X-Headers-End: 1jCQcg-009WDR-K4 Subject: Re: Destructive editing? X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net On 03/12/2020 02:43 PM, K. H. Hom via Sox-users wrote: > export PATH=/usr/local/bin:$PATH for file in "$@" do sox $file > outfile.wav --norm=-0.1 && mv -f outfile.wav $file done > > but there is a problem when the path contains empty space :/ Still > need to find a solution for this. Wrap your shell variables in double quotes: sox "$file" outfile.wav --norm=-0.1 && mv -f outfile.wav "$file" -- -- Sylvain Leroux -- sylvain@chicoree.fr -- http://www.chicoree.fr _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users