WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to exclude files like "|sr0_0.desktop" from mydata?  (Read 1986 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
how to exclude files like "|sr0_0.desktop" from mydata?
« on: August 30, 2012, 11:38:52 AM »
 :-\
dCore user

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #1 on: August 30, 2012, 12:00:38 PM »
You forgot to add a description/message to your subject.

Do you have a pipe in your filename and .xfilestool does not accept it or whats your problem?

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #2 on: August 30, 2012, 12:33:25 PM »
I didn't put a message body because I thought that the subject was enough.
I haven't tried adding
|sr0_0.desktop
to xfiletool because this file can exist or not depending on the pc where I run core.
I think it can also be the pendrive label for example.
dCore user

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #3 on: August 30, 2012, 12:52:06 PM »
if you dont want to save and always restore it what does it mather if its exists or not? meaning you could add it anyway.
Maybe im acting ignorant and there is something i misunderstand, sorry.

Im not sure of how your shell works but presumably its just trying to visualize its a named pipe and you would manipulate it in the same way as a regular file. In your case as its sometimes there and sometimes not you can see it as a normal temperary file.
« Last Edit: August 30, 2012, 03:27:16 PM by ananix »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #4 on: August 30, 2012, 01:14:28 PM »
Hi jls_legalize
If it's a real pipe, then I would try   sr0_0.desktop
If the filename really has a pipe character in it, my advice would be don't use that character in a filename.
If you can't avoid using that character, maybe   \|sr0_0.desktop   will work.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #5 on: August 30, 2012, 02:23:20 PM »
It's enlightenment which put such files which are the removable devices.
dCore user

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11629
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #6 on: August 30, 2012, 04:58:43 PM »
Hi jls_legalize
So the filename has a pipe character in it? Did you try escaping the pipe character with a backslash?

Offline ananix

  • Full Member
  • ***
  • Posts: 174
Re: how to exclude files like "|sr0_0.desktop" from mydata?
« Reply #7 on: August 30, 2012, 05:42:57 PM »
Its highly unlikely that enlightenment (not that i really know the program) would make a filename with a pipe in it or any other program for that mather as its highly unorthodox! if you did not somehow make that filename your self it is deffently more likely a named pipe! Also considering name and the usage jls_legalize describes for the file, maybe one can drop files directly in a dynamically created desktop "folder" when sr0 plugs in.

try a ls -l and check for a "p" in permissions, this should be the true shell way of telling not |filename or filename| or even just filename.

« Last Edit: August 30, 2012, 05:58:56 PM by ananix »