Search Results

Search: Posts Made By: SDelroen
24,140
Posted By SDelroen
Yeah, you're right, spaces are the most annoying,...
Yeah, you're right, spaces are the most annoying, but I also had a few others that would mess with quoting...

I'd be happy to rename all those messy files, but sometimes you just can't prevent...
1,230
Posted By SDelroen
Join operation on a path ?
Hi,

I've got two files I would like to merge.

One is the result of md5sum (ie. each line is of the form hash filepath) and the other of ls-l. Both received the same list of files as arguments,...
24,140
Posted By SDelroen
True, it breaks if you have spaces. The...
True, it breaks if you have spaces.

The quoting also breaks if you have double quotes in your filenames, which was also my case, that's why all special chars were escaped in my list.txt file.
...
1,946
Posted By SDelroen
Ah, sorry, I actually didn't try that because my...
Ah, sorry, I actually didn't try that because my filenames also had other special characters that I needed to protect (typically the single and double-quotes can be messy, with sed for example), but...
1,946
Posted By SDelroen
No, I also tried that, but it didn't make it ! ...
No, I also tried that, but it didn't make it !

If the spaces are escaped with backslashes, AND you put the name between quotes, your shell is going to think the backslashes are part of the...
24,140
Posted By SDelroen
I was reading other posts while waiting for a...
I was reading other posts while waiting for a reply, and found the solution in one of them: xargs.

The right command is:

xargs md5sum < list.txt >md5list.txt
24,140
Posted By SDelroen
Running md5sum on a list of files
Hello,

I would like to run md5sum on a list of files saved in a text file, and save the result in another file. (ie. md5sum `cat list.txt` > md5list.txt)

I have tried several things, but I am...
1,946
Posted By SDelroen
Spaces behaviour in shell
Hello,

I am a bit puzzled by the way my shell treats spaces in filenames.

An example will be way clearer than any explanation I can make:
$ ls test\ file\ with\ spaces
test file with spaces...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy