New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
-
Ed_P
- Contributor
- Posts: 8663
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#1
by Ed_P » 10 Jun 2015, 22:37
When Porteus creates duplicate network file names it creates them with a space in the name which makes deleting them almost impossible. A different naming convention would be useful.
Code: Select all
guest@porteus:~$ ls /etc/NetworkManager/system-connections/
QuickMoose QuickMoose\ 1 QuickMoose\ 2
guest@porteus:~$
Ed_P
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#2
by brokenman » 10 Jun 2015, 23:02
When Porteus creates duplicate network file names
Porteus doesn't create them. By the looks of your output you are using NetworkManager which is responsible. In any case can you explain why it is almost impossible to delete a filename with a space?
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Ed_P
- Contributor
- Posts: 8663
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#3
by Ed_P » 11 Jun 2015, 00:22
brokenman wrote:By the looks of your output you are using NetworkManager which is responsible.
Ok, but I didn't install it, it came with Porteus.
In any case can you explain why it is almost impossible to delete a filename with a space?
This experience leads me to that conclusion:
http://forum.porteus.org/viewtopic.php? ... 550#p28134
Ed_P
-
francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#4
by francois » 11 Jun 2015, 06:05
@ed:
This is not the answer to brokenman's question. You pointed to the solution to the problem.
Though it is permitted in windows syntax, I guess the answer is that file names with spaces are not permitted for the Unix or Linux environment.
I imagine that there could be a more refined answer.
Prendre son temps, profiter de celui qui passe.
francois
-
Ed_P
- Contributor
- Posts: 8663
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#5
by Ed_P » 11 Jun 2015, 16:03
francois wrote: I guess the answer is that file names with spaces are not permitted for the Unix or Linux environment.
Oh, they are permitted, that's the problem. Once permitted they are difficult to remove. Yes, I found a way to fix my problem but I'm not the only newbie that will encounter the problem, and having a function of Porteus create the problem doesn't seem to be the best course of action. imo
Ed_P
-
Bogomips
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#6
by Bogomips » 11 Jun 2015, 18:06
Ed_P wrote:but I'm not the only newbie
Bit too long in the tooth, considering ..
Normally use a file manager to delete the video files with names containing spaces, or
rm with tabbing to completion, but suppose network files are different.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips
-
francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#7
by francois » 11 Jun 2015, 18:17
There is not much on the net about the subject. All I could find is:
http://unix.stackexchange.com/questions ... a-filename
The reason is largely historical - WAY back in the mists of time spaces were not allowed in filenames, so spaces were used as keyword / filename separators. Future shell interpreters had to be reverse-compatible with old scripts, and thus we are stuck with the headache we have today
Prendre son temps, profiter de celui qui passe.
francois
-
Ed_P
- Contributor
- Posts: 8663
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#8
by Ed_P » 13 Jun 2015, 15:31
Thank you for the confirmation
francois. Maybe it will help support getting Porteus to not create file names with them. Especially since file managers don't normally delete files named that way.
Ed_P
-
long123
- White ninja
- Posts: 5
- Joined: 17 Jun 2015, 08:20
- Distribution: long123
- Location: hefei
Post#9
by long123 » 01 Jul 2015, 06:49
This is not the answer to brokenman's question. You pointed to the solution to the problem.
Though it is permitted in windows syntax, I guess the answer is that file names with spaces are not permitted for the Unix or Linux environment.
long123
-
Bogomips
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Post#10
by Bogomips » 01 Jul 2015, 12:01
long123 wrote:Though it is permitted in windows syntax, I guess the answer is that file names with spaces are not permitted for the Unix or Linux environment.
IMHO one cannot make such a blanket statement. It may perhaps hold for network filenames, but not generally. Most of the videos I download come from the windoze environment, and the overwhelming majority have filenames with embedded spaces. Have no trouble dealing with them
- Accessing from CLI using tab completion
- Accessing from a file manager like Nautilus
Even a shell script has been able to handle such filenames. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Bogomips
-
Ed_P
- Contributor
- Posts: 8663
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#11
by Ed_P » 01 Jul 2015, 15:51
long123 wrote:This is not the answer to brokenman's question. You pointed to the solution to the problem.
In that your link seems to have little bearing on this discussion your posting appears to be
SPAM.
Ed_P
-
donald
- Full of knowledge
- Posts: 2092
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Post#12
by donald » 01 Jul 2015, 16:10
donald
-
francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#13
by francois » 01 Jul 2015, 18:25
@long123:
You remove that link of yours that has nothing with this thread and which seems undoubtly spam. Default from complying will result in banning of the porteus forum.
Well seen guys.
Prendre son temps, profiter de celui qui passe.
francois
-
sunnysideofthesun
- Black ninja
- Posts: 62
- Joined: 24 Apr 2015, 22:16
- Distribution: other
- Location: check the logs
Post#14
by sunnysideofthesun » 01 Jul 2015, 19:50
Just a thought (total offtopic): are you guys trying to reason with spambot?
sunnysideofthesun
-
Seva
- Samurai
- Posts: 134
- Joined: 30 Apr 2015, 12:00
- Distribution: XFCE Porteus Desktop 3.1 64bit
- Location: Moscow, Russia
Post#15
by Seva » 01 Jul 2015, 20:03
im not a bot (trust me)
posted from Porteus
Seva