Linked Questions

0
votes
1answer
713 views

Can't remove apostrophes from filenames in terminal [duplicate]

I don't understand why zsh and bash (ls) show me lots of filename inside apostrophes, but not all: 'joe rilla - mauern fallen.mp3' jokaz-alarmbereit.mp3 'yoshi blessed - everybody free.mp3' I tried ...
1
vote
0answers
483 views

How to remove a single quote from a file name? [duplicate]

I have some podcasts on my radio server which contain a timestamp when they should be played. I noticed one of them is put into single quotes 'filename.mp3', and I'm unable to remove them. Check this: ...
2
votes
1answer
67 views

Why is my directory getting quotes around it when created? [duplicate]

I create a directory called bob@example.com/ I wanted to use this email address as the directory name - I know - not a good idea for many reasons - but lets assume this is a very temporary ...
1
vote
0answers
43 views

Unexpected single-quotes in file name [duplicate]

Original post over here: https://stackoverflow.com/questions/35350216/unexpected-single-quote-in-file-name Basically, it seems that ever since I accidentally overloaded my filesystem (it's not ...
0
votes
0answers
32 views

How to rename filename in linux enclosed with ' [duplicate]

I have created some txt files in windows and when i move those files to my linux machine and ls, said filenames are enclosed with ' eg. In windows, the file is abc.txt , in linux is see 'abc.txt' - ...
24
votes
2answers
4k views

Why is less being run unnecessarily by git?

When I run git branch (from bash or csh), it automagically pipes the output through less. However, with only a few branches in the repository this is beyond unnecessary, it is annoying, as the branch ...
5
votes
2answers
976 views

bash: Replace single quote by two quotes in string

I have a variable, e.g. a'b, containing a single quote which I need to replace by two single quotes before writing it to a file: a''b. The following bash code used to get the job done for me ... ...
4
votes
3answers
422 views

Files names with an ' (apostrophe) inside of them

When I list files that have spaces in their names, most of the time I see them surrounded by apostrophes : 'famille, vacances, loisirs' I had to edit a file whose name had to be : Chapitre 2 : L'accès ...
4
votes
3answers
303 views

Rename all hidden directories created by GNU parallel

GNU Parallel is outputting hidden directories as follows using the --results parameter. What command do I use on Ubuntu to change the all to directories so that they are no longer hidden. The ...
2
votes
2answers
1k views

Quoted filenames with spaces in ls output on OSX

The problem I don't want to see filenames quoted when they contain spaces. Example On OSX I see this when running ls: > ls -l total 0 drwxr-xr-x 2 mafro staff 68 Mar 16 09:02 'dir with spaces' ...
3
votes
1answer
241 views

Why does `ls` add a leading whitespace to its output for certain directories?

If I use the ls command in my home directory each line of output has a leading whitespace: $ ls bin Documents ... It only seems to do this for my home directory. Why does it do this? Note: I ...
0
votes
3answers
236 views

How to use wildcard * with 'A long filename'?

I'm trying escape characters like \' but it doesn't work. $ cp 'A long filen* ./short_filename
2
votes
1answer
139 views

“ls -b” does not work on macOS

ls -b should print the file names with non-printable characters, for example, ex ex.txt should be shown as ex\ ex.txt, but this does not work on macOS, it is still ex ex.txt. Does anyone know the ...
0
votes
1answer
42 views

List directories starting with '

I have a lot of folders in a directory and some are starting with the character '. I would like to remove these. Example folders Folder.A 'Folder.B' <-- want to delete this 'Folder.C' <-- want ...
3
votes
0answers
61 views

I can see but cannot delete a file [closed]

I am running Linux Mint.I tried to copy a file with the file manager. It looked like it hung. I can see the file in the directory with ls -l: -rwxr-xr-x 1 mike domain^users 20 Mar 1 08:57 'output (...

15 30 50 per page