Re: OT: Compatibility Issues With Windows Files

2011-10-05 Thread Ralf Mardorf
On Tue, 2011-10-04 at 19:45 -0500, Jordan Metzmeier wrote:
 On Tue, Oct 4, 2011 at 4:48 PM, Ralf Mardorf ralf.mard...@alice-dsl.net 
 wrote:
  Beside the space issue, you also might take care about globbing.
  If you e.g. cp * you won't copy hidden files of the directory, but all
  inside folders of the directory. If you e.g. rm *, you'll delete all
  files, including hidden files.
 
 The command cp * will not recurse into directories without -r or -a
 to enable recursion. The * is expanded by the shell and is passed as
 arguments to the command. This means that * will expand to the same
 set of files and directories, regardless of the command in front of
 it.

*lol* sorry, I should have add the -r switch.

 In bash, you can enable globbing of hidden files with shopt -s
 dotglob.
 dotglob If set, bash includes filenames beginning with a `.'  in
 the results of pathname expansion.

I didn't know that :).

Anyway, I just thought it might be an important hint, for somebody who
has got issues with spaces.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1317799964.2577.16.camel@debian



OT: Compatibility Issues With Windows Files

2011-10-04 Thread Ralf Mardorf
Beside the space issue, you also might take care about globbing.
If you e.g. cp * you won't copy hidden files of the directory, but all
inside folders of the directory. If you e.g. rm *, you'll delete all
files, including hidden files.

Regarding to the mail addresses I suspect you're using braille. Anybody
using a monitor, who isn't aware of some basic rules, could use GUIs
instead of a terminal.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1317764894.2632.32.camel@debian



Re: OT: Compatibility Issues With Windows Files

2011-10-04 Thread Jordan Metzmeier
On Tue, Oct 4, 2011 at 4:48 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:
 Beside the space issue, you also might take care about globbing.
 If you e.g. cp * you won't copy hidden files of the directory, but all
 inside folders of the directory. If you e.g. rm *, you'll delete all
 files, including hidden files.

The command cp * will not recurse into directories without -r or -a
to enable recursion. The * is expanded by the shell and is passed as
arguments to the command. This means that * will expand to the same
set of files and directories, regardless of the command in front of
it. In bash, you can enable globbing of hidden files with shopt -s
dotglob.

dotglob If set, bash includes filenames beginning with a `.'  in
the results of pathname expansion.

Regards,
-- 
Jordan Metzmeier


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAD758RgGmOqcRC48iBfgUN7RzjwKhep=mdte6mo97pttvum...@mail.gmail.com