Csaba Raduly wrote:
On Thu, Sep 30, 2010 at 3:37 PM, SJ Wright wrote:
I know one of the trip-ups I often have if I spend any time away from a
L/Unix environment has to do with the "mv" command: I often forget that it
prefers absolute paths from root folders (or in the case of Cygwin, virtual
On Thu, Sep 30, 2010 at 3:37 PM, SJ Wright wrote:
> I know one of the trip-ups I often have if I spend any time away from a
> L/Unix environment has to do with the "mv" command: I often forget that it
> prefers absolute paths from root folders (or in the case of Cygwin, virtual
> ones taken as rea
> I store a list of files in a text file (test.txt) on Windows XP.
> I want to use the list of files and process it (e.g. ls).
> What is the command to do that?
> I tried the following commands but to no avail.
>
> $ cat test.txt
> test.txt
>
> $ cat test.txt | xargs ls
> : No such file or direc
On 9/30/2010 9:37 AM, SJ Wright wrote:
I know one of the trip-ups I often have if I spend any time away from a
L/Unix environment has to do with the "mv" command: I often forget that it
prefers absolute paths from root folders (or in the case of Cygwin, virtual
ones taken as real) or dot-dot-slas
albert kao wrote:
I store a list of files in a text file (test.txt) on Windows XP.
I want to use the list of files and process it (e.g. ls).
What is the command to do that?
I tried the following commands but to no avail.
$ cat test.txt
test.txt
$ cat test.txt | xargs ls
: No such file or direct
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You will also run into problems with xargs and filenames with spaces
in. In my experience, the simplest thing that works reliably with
xargs and all Windoz filenames is xargs -0, so what you want is
> tr -s '\012\015' '\000' < test.txt | xargs -0 ls
On Wed, Sep 29, 2010 at 9:39 AM, albert kao wrote:
> I store a list of files in a text file (test.txt) on Windows XP.
> I want to use the list of files and process it (e.g. ls).
> What is the command to do that?
> I tried the following commands but to no avail.
>
> $ cat test.txt
> test.txt
>
> $ c
On Wed, Sep 29, 2010 at 03:39:10PM +, albert kao wrote:
>I store a list of files in a text file (test.txt) on Windows XP.
>I want to use the list of files and process it (e.g. ls).
>What is the command to do that?
>I tried the following commands but to no avail.
>
>$ cat test.txt
>test.txt
>
>$
I store a list of files in a text file (test.txt) on Windows XP.
I want to use the list of files and process it (e.g. ls).
What is the command to do that?
I tried the following commands but to no avail.
$ cat test.txt
test.txt
$ cat test.txt | xargs ls
: No such file or directory
$ cat test.txt
9 matches
Mail list logo