General :: Lyx: File Name Error The Directory Path To The Document Cannot Contain Spaces

Sep 9, 2009

trying to write my thesis in Lyx 1.6. It works fine on my windows laptop at home but Not on my work computer. The problem is, when i try to view it in pdflatex it comes with with: Lyx: file name error The directory path to the document cannot contain spaces

View 1 Replies


ADVERTISEMENT

General :: Shell - Rename A File From Something Without Spaces To Something Containing Spaces?

Jan 26, 2010

Is it possible, in Linux, to rename a file from something without spaces to something containing spaces? I know I can create directories and files with spaces by doing:

mkdir "new dir" and:

touch "new file.txt"

I want to rename files from:

imgp0882.jpg to something like:

20091231 1243 some topic.jpg

And how would it look in a shell script that uses parameters like:

for i in *.jpg do
rename "$i" "$somepath/$mydate $mytime $mytopic$extension"
?

I'm new to Linux (using PCLinuxOS 2009.2), coming from Windows, and I've written myself a little shell script to download files from my camera and then automatically rename them according to a date-and-topic pattern. As you can guess by now, I'm stuck on the bit about renaming. If you want to see my script, here's a copy. I'm not using jhead for this renaming because that only works with JPEG files but I want a single solution for any media format including videos.

View 2 Replies View Related

General :: Command For Finding File / Directory From Current Path

Apr 30, 2010

I am total new to linux as I worked mostly on RTOS (symbian). My problem is, I need to find the file IOSTREAM.H and I am following commands below:
1) cd /
2) find . iostream.h ( finds the file / directory from the current path)
It shows No such File or Directory

View 7 Replies View Related

General :: Editing Document On Installation Path?

Aug 9, 2010

I'm installing some software on a RedHat based O/S and have the instruction to

- 'Edit the document document name on the installation path.'

How do I find what the installation path is for this document? Are all programs installed in the same basic place on Linux machines?

I have tried the 'locate' command and it is not found. I have tried (find / -name 'documentname') and get a whole bunch of output saying:

find: /lost+found: Permission denied
find: /proc/tty/driver: Permission denied
find: /proc/1/task/1/fd: Permission denied
find: /proc/1/fd: Permission denied

[Code]....

View 3 Replies View Related

Slackware :: Default PATH - Python: Can't Open File 'SABnzbd.py': [Errno 2] No Such File Or Directory

Nov 24, 2010

I have just installed SABnzb application in my home folder. The executable file is SABnzb.py When I run the command in the Konsole # python SABnzb.py I have this Quote: python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory

View 5 Replies View Related

Fedora :: Error Saving The Document <filename>: Write Error. The File Could Not Be Written

Jun 5, 2010

I open an ODS file and edit it and save, fine. But sometimes and for no readily apparent reason it refuses to save the document with the error message:"Error saving the document <filename>: Write error. The file could not be written". I have upgraded my version of OpenOffice but the issue remains. Once it starts with that error the only way to save the file is to actually abandon my change and restart OOffice. Today I lost an hours stuff as the auto save was also failing but not giving me any warning it was failing. I'm not sure if this is an OpenOffice, file system, Fedora or permissions issue though I've not noticed anything similar with other applications. Have set permissions to 777 but still get the error.

View 3 Replies View Related

Ubuntu :: Documents Directory Now Link File Linking To /home/user/Document And Inaccessible

Nov 11, 2010

I just realized that the "Documents" folder in my home directory has changed to a file which is a link to the /home/user/Documents and it is unaccessible. It does not (no longer) show in the "file browser" when I try to click it from "places" it says:

Error: Could not open location 'file:///home/user/Documents' No application is registered as handling this file When I list from the terminal (i.e. %ls -ltr ) it list the file (which was suppose to be the directory) as

lrwxrwxrwx 1 user user 24 2010-11-01 18:20 Documents -> /home/user/Documents

NB. user in this case is my user name on the system, I am just using user for this forum. how to retrieve the information from the folder and remove the linked file to remain with the original folder

View 5 Replies View Related

Slackware :: PATH -13.0: No Such File Or Directory

Apr 21, 2010

I am working on getting my software packages installed on my fresh Slackware64-13.0 installation. Some (but definitely not all) of my executables are unable to be run.

I understand what PATH is for. It is for locating files, folders, executables in those directories when running from a Terminal window.

So, for example, I have just installed Cisco VPN Client for Linux, and it is the strangest thing. I should have access to this. I must not be understanding something here. Does anyone have any idea why this is not working for me? I have put in an example of what I am talking about.

I have no idea why this is not working.

View 9 Replies View Related

Server :: Mounting Windows Path - How To Handle Spaces

Dec 29, 2010

Am trying to do a mount of a Windows folder onto Linux. The path has some spaces in it like //hostname/path 1/path 2/path 3. How I should handle this?

View 6 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:

Code:

find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:

Code:

mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

Programming :: Bash - How To Expand Path Variable That Contains Spaces And Wildcards

Feb 15, 2010

having bit of a trouble with path expansion of strings that contain some whitespace and wildcards First my script sources a configuration file that contains array assignments

Code:

...
BACKUP_TARGET_FILES[2]=/boot/config-* # no problems
BACKUP_TARGET_FILES[3]="/root/random dir with space/file*" # this is the problem
...

then later in the script I want to expand BACKUP_TARGET_FILES elements as below

Code:

IFS_DEFAULT="$IFS"
shopt -s nullglob
shopt -s dotglob
IFS=

[code]....

this code seems to work but I'm not quite satisfied with it. I'd like to get rid those IFS changes, but haven't found out a solution as of yet. Problem with default IFS seems to be that with it neither $pattern or "$pattern" work; it either interprets pattern as multiple words (because of spaces) and so expands to wrong paths or it ignores * because it's within quotes.

View 11 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related

General :: Find Document Files And Copy Them To Another Directory?

Nov 7, 2010

This is a bit of a basic question but I'm trying to copy all .doc files I find in a directory and copy them to another directory.I know each command:

find -name '*.doc' .

and:

cp filename location

how can I combine the two commands?

View 3 Replies View Related

Ubuntu :: Nautilus Copy File/directory Path Should Not Put "file://" Prefix

Dec 27, 2010

I really missed the old Ubuntu file/dir. copying feature. When I copied in nautilus file explorer and paste into a terminal or text editor, I got the exact path (eg. /home/user/abc.txt), but when coming the Ubuntu 10.04, it added some "file://" prefix to the actual path (eg. file:///home/user/abc.txt), and I always had to manually delete the "file://" prefix. I don't see clearly that we need to place "file://" in front of the actual path (maybe just in the case we want to put the path in an Internet browser?). Wish this reversed back.

View 1 Replies View Related

Ubuntu :: Program Path For Document Viewer?

Mar 19, 2010

I've been searching the site to find out what the program path is for Ubuntu programs, but can't find what I'm looking for. My search terms were :

- "program path" Ubuntu
- change "program path"
- "open with" "program path"

I came across a few articles but nothing really seemed to help me. Here's the problem; anytime I try to open a PDF file from my browser, I get either the "Open With..." option or the "Save to..." option.

If I select "Open With..." the default has been changed to Virus Scanner (ClamTK) which I recently installed. Admittedly, I was fooling around with virus scanners to see how they work in Ubuntu. But now my Document Viewer won't open up the PDF files. If I select "Save to..." and save the PDF file(s) to my desktop, and double-click the PDF file from my desktop, then Document Viewer will open up the file. What is the program path for me to change the default program back to Document Viewer???

View 6 Replies View Related

General :: Error - Su: No Such File Or Directory

Jul 21, 2011

If I type su, it gives me following error su: No such file or directory

View 5 Replies View Related

General :: No Such File Or Directory - Error

Jun 30, 2010

I copied g95 executable under /usr/bin which is clearly in my PATH. When I type g95, it says "bash: /home/username/bin/g95: No such file or directory". Why doesn't it look for somewhere else that is in my PATH?

View 5 Replies View Related

General :: Error :ppc_4xx-g++: .exe: No Such File Or Directory?

Jul 15, 2011

i have this make file in order to generate hello.exe.compiled with visuel c++.

Code:
#include <iostream>
using namespace std;

[code]....

View 4 Replies View Related

General :: Error: X11/Xlib.h: No Such File Or Directory

Aug 1, 2011

I am trying to compile the code. I am getting this following error. Am I missing any package?

x86_screen.h:12:22: error: X11/Xlib.h: No such file or directory
In file included from osal_event.c:12:
x86_screen.h:25: error: expected specifier-qualifier-list before �Display�
make[1]: *** [osal_event.o] Error 1

View 5 Replies View Related

General :: Getting Error Message - No Such File Or Directory

Sep 30, 2010

I am migrating an application from HP-UX to Redhat Linux and I have some files of scripts. In one of the script files I have the line /pylive/smartPAY/spserver/scripts/sp.con which is the correct path and file name for an existing file. However I get the message "No such File or Directory/pylive/smartPAY/spserver/scripts/sp.con" The script worked fine in HP-UX, why not in Redhat Linux?

View 6 Replies View Related

General :: Cmem.c:38:19: Error: Stdio.h: No Such File Or Directory

Aug 10, 2010

I am trying to compile a memory map module cmem.ko from TI codec tools. This is for the DSPlink software development for the OMAP3530. I am compiling this on the host(Ubuntu). First error could not find cc1 and i re-installed gcc and added it to the path. That fixed that error but then I get to this:

cmem.c:38:19: error: stdio.h: No such file or directory
cmem.c:39:20: error: unistd.h: No such file or directory
cmem.c:40:22: error: sys/mman.h: No such file or directory

[code]....

View 1 Replies View Related

General :: Elementary Script Error 'No Such File Or Directory'

Sep 18, 2010

When testing my script for a question, I find that when I execute the expanded commands, I get no error message, but when I source the file with the command, I get 'No such file or directory'. Here is what I mean:

[code]...

View 7 Replies View Related

General :: Process_30sec.c:15:23: Error: Asm/bitops.h: No Such File Or Directory

Oct 4, 2010

I am trying to compile a file named process_30sec.c(thats a C program) through the Ubuntu terminal and it is showing the following error in command terminal: process_30sec.c:15:23: error: asm/bitops.h: No such file or directory I have just started using Ubuntu&Linux so I am not familiar with lots of commands and things going around.I am using the following command to compile the process_30sec.c file:

kutub@ubuntu:~/Desktop$ gcc process_30sec.c

The above mentioned program file contains a header file <asm/bitops.h>, that I need to use in the program.It seems that this header file is not recognized by the system, and it needs to be included somewhere in the system so that the terminal would allow me to compile this program.

View 3 Replies View Related

General :: Rt3070sta.ko No Such File Or Directory On Slackware - Error

Sep 11, 2010

I'm trying to install a WiFi Wireless IEEE 802.11N/G/B WLAN 150Mbps Network Adapter USB2.0 on Slackware. I get the following message when I enter "make install." cannot stat rt3070sta.ko no such file or directory

View 9 Replies View Related

General :: Remove Spaces From Many File Names Under Cygwin?

Nov 22, 2010

I'm hoping that someone can help me, I need to remove spaces (not replace with underscores) from several thousand files on a system with cygwin.
Can I do this from the shell using rename or mv somehow?

View 4 Replies View Related

Ubuntu :: General Error Mounting Filesystems - Error "No Such File Or Directory Fsck From Util-linux-ng 2.16"

Apr 1, 2010

My ubuntu stops when mounting system hdd. The screen display the following messages :

mountall:/etc/fstab: No such file or directory fsck from util-linux-ng 2.16 WARNING: couldn't open /etc/fstab: No such file or directory init: mountall main process (545) terminated with status 1 General error mounting filesystems. A maintenance shell will now be started. CONTROL-D will terminate this shell and re-try. udevd[560]: can not read '/etc/udev/rules.d/z80_user.rules. Ubuntu: clean, 474879/24231936 files/28016581/96898047 blocks root@i7:~# exit_

I suspect the disk manager pysdm that i had just installed today and it had crash during the previous session. The /etc/fstab file does not exist anymore and i cant rename the fstab.bak because the disk is read-only even for my root user

View 1 Replies View Related

General :: Specifying A Directory Path In Python?

Nov 20, 2009

I'm trying to write a script in python to extract data from maillogs in gz format. I wrote a shell script but i now want to do this in python, as thats the preferred method where i work. anyway does anyone know how to specify directory paths for example the maillogs exist in /var/log so i want the script to go to that directory would LOG_DIR="/var/log/" work?

View 1 Replies View Related

General :: Put A '/' In The Directory Path With Apache?

Nov 8, 2010

I am using Apache/2.2.3 on Centos 55. I am having an issue that is pretty strange to me. Whenever I navigate to a url on my webserver from outside my network. I have to put a '/' in the directory path for example When I type in: mydomain.com/directory1 it winds up redirecting to the hostname for my server HOWEVER When I type in mydomain.com/directory1/ it works, since I am adding the '/' at the end of the path. I suspect it is because I do not have my FQDN set up correctly.I did not have this issue when I was using Ubuntu 10.04 , I suspect because Ubuntu automagically set this up for me. Is there a particular way I need to setup my FQDN in centos to get this to work properly? I have tried going into /etc/hosts and adding my FQDN in there, but I do not think I did it properly, is there a particular way the /etc/hosts file needs to be setup?

View 1 Replies View Related

General :: Can't Compile Gcc - Fatal Error: Stdio.h: No Such File Or Directory

Feb 19, 2011

I am trying to upgrade my NAS with anew toolchain, gcc-4.5.2. The NAS have been "hacked" fonz_plug, that contain a gcc version 4.1.3 with uClibc. I have download all needed tar files and done the following.My goal is to upgrade the gcc to 4.5.2 and replace the ucLibc on the system with a GNU libc.

# Pass one
#
# binutils
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --with-gmp=/ffp --with-mpfr=/ffp
But when I try to compile the gcc with
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-__cxa_atexit --with-float=soft --enable-languages=c,c++ --with-build-sysroot=/ffp --with-build-time-tools=/ffp/bin --with-system-zlib --enable-threads=posix --disable-bootstrap

[Code]...

View 6 Replies View Related

General :: ERROR: Iostream.h: No Such File Or Directory / Cin Was Not Declared In This Scope?

Jun 8, 2010

I create a simple code for add two number:

Code:
#include<iostream.h>
#include<stdio.h>
main()
{
int num1, num2, sum;
code....

I search the answer to my problem in various forums but I can't solve the problem.I think that is due to I need some package or that I don't install the necessary libraries.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved