Ubuntu :: Convert Recursevely Directories From Eps To Pdf?
Apr 10, 2011
I would like to convert all my eps files recursively in a directory tree to pdf. I am currently using the following script to convert all files of a single directory:
for i in *.eps;
do epstopdf "$i";
done
need to convert the whole directory tree, but the script above didn't work wit-R option
View 1 Replies
ADVERTISEMENT
Sep 21, 2010
I'm trying to convert all file extensions for files in many sub-directories from uppercase to lowercase. I have two problems, how to list the absolute path to the files recursively over many sub-directories for which I so far have this:-
Code:
find ~/Photos -print which would be fine, except it gives the directories on their own when it finds them rather than just the files with absolute paths. I couldn't find a switch for the "ls" command to do this, so I had to improvise with "find". and once I get grab each absolute file name, to just change the file extension rather than the entire file, which is what I have at the moment.
[Code]..
View 7 Replies
View Related
Dec 19, 2009
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies
View Related
May 15, 2011
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
View 2 Replies
View Related
Mar 23, 2011
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
View 7 Replies
View Related
Jan 19, 2010
I am trying to use 'convert' in command prompt to convert image file format.I get the following error.
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.
View 3 Replies
View Related
Mar 16, 2010
An easy way to convert wav files into mp3 (or ogg).
$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.
after that run
$ nautilus-script-manager enable ConvertAudioFile
Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.
View 3 Replies
View Related
May 3, 2009
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies
View Related
Jul 18, 2010
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies
View Related
Jan 20, 2010
Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.
So far I have created:
chroot_list
user_list
[code]....
View 1 Replies
View Related
Dec 24, 2010
I have a lot of .flac files downloaded from several sites. Most of them come with a .cue file, and the .jpg with the cover, etc. It seems it is the intention of the uploader that one rebuilds the original CDDA. However, if I had a stand-alone CD/DVD player with flac I would hardly see the point of converting the flac to cdda. Furthermore, I could even play the flacs with a software player although, in this case, the audio quality would not be so good due to the noise picked up by the signal from the PC digital circuits.
View 2 Replies
View Related
Mar 26, 2011
Do I have the convert the int to a string using stringstream then convert the string to a char? or is there a more direct way?Also is there a way to tell the length of a int?
View 5 Replies
View Related
Sep 25, 2010
is there any way to ignore whole directories in Ubuntu-One? I figured out that you can use /etc/ xdg/ ubuntuone/syncdaemon.conf to ignore files by adding a regex to ignore.default, but I assume this only applies to files. So, how can I avoid the syncing of some subdirectories of my synced folders? I guess I could use symlinks as a workaround, because I read somewhere that Ubuntu-One wouldn't follow them.
View 1 Replies
View Related
Feb 28, 2011
How do I delete just directories and not files when performing a "rm -r foo*" command? E.G. I have foobar.txt foofoo.o foorebar.jpg and foo/ foonuggets/ and footemp/ in a directory. In one fell swoop how do I delete just the directories and preserve the files?
Seeing as how I only use the -r switch when removing directories I accidentally ran this command and removed files that I wanted (luckily nothing vital). Lesson learned now I want to prevent ever doing that on files that *are* vital.
View 8 Replies
View Related
Apr 8, 2011
I back up using a small rsync script. I've tried other methods but just keep coming back to it.
I have enough space that I can back up the entire root file system, but for speed and economy there are certain folders I'm not backing up. I understand some are dynamically generated on boot, others are caches.
Anything else I should exclude? How about APT's cache? /var? Any other caches?
View 3 Replies
View Related
Jan 1, 2010
I have a string of files named recup_dir.1 thru .66. I have the command sudo rm -r /home/"name"/Pictures/recup_dir.1 to remove them one at a time, how do I remove 20 or thirty at one command?
View 5 Replies
View Related
Jan 9, 2010
I'm using an external USB Iomega Rev 70GB HDD. (Have been for a few years). It uses UDF format for higher transfer speeds of large files. (This is not an option, & not changeable), therefore natively recognised since 2.6.20, I think. (But no official Linux support).
Occasionally though, I run into problems such as can't format a disk in Linux, need to boot to Wins to do it. Also like today: So I have a bunch of comic pdfs & cbrs on it, mix of .rar files & folders. They were there yesterday. Today I went to read something and I couldn't see them. Thought maybe I'd deleted it by accident, but no. Looked at the drive in terminal and I can see the "missing" files and folders fine, but can't see them in Nautilus to open in Comix.
-Tried setting all permissions on the whole drive to R/W/E through Nautilus.
-Files & Folders aren't hidden.
-Tried rebooting.
-Tried using Administrator Nautilus.
-Thought it might be a re-emergence of the recent Nautilus Preview bug, so swiched File Preview off.
View 7 Replies
View Related
Jan 19, 2010
Is it possible to just tar /home, /opt, and a couple other directories, and then save them on some medium, so that when doing a fresh install, I could just extract the folders from the tar file and keep my information?
I don't plan on doing daily/weekly backups, but I want a copy of some folders so that I can keep as many of my settings as possible in case I need to do a fresh install.
I also don't have the ability to create another partition on my hard drive to be able to put /home on it.. but yes, I looked into that route, as well.
View 8 Replies
View Related
Mar 22, 2010
I have a shared /home between windows, Ubuntu and a couple of alternative Gnu/Linux installs.
Are there any other directories that can safely/easily share a partition?
Can I have my installed programs available to me in any distro if, for example, I share lib and usr and etc ?
View 1 Replies
View Related
Jun 25, 2010
Just in case I have some kind of error (again) I am wondering what directories I could restore without causing a boot error or force me to play with configure files using a live disk on the next reboot.List of directories I could restore that I know won't cause a boot error.
View 3 Replies
View Related
Oct 23, 2010
I have a large music directory that I'd like to somehow acquire, or generate, a list of each sub-folder within it, and then somehow get the list into a spreadsheet format. Is there a way to do this?
View 1 Replies
View Related
Dec 6, 2010
I have several folders:
Archive_001
Archive_002
Archive_003
etc.
Is there any command to batch rename these directories to:
NewArchive_001
NewArchive_002
NewArchive_003
View 2 Replies
View Related
Dec 6, 2010
If i wanted to tar a directory into individual directories (but only one level) how would i go about it? example would be
MainDirectory
|---dirA
|---dirB
|---dirc
|---dir....
would produce
dirA.tar
dirB.tar
dirC.tar etc
View 3 Replies
View Related
Dec 26, 2010
I go to places-acces server-ssh and connect to a remote server with Nautilus.All ok.But I prefer to use vifm as my main file manager: I try to find the ssh-mounted devices in /mnt or /media but cannot fin them.Does anybody know where they are?
View 2 Replies
View Related
Feb 15, 2011
I just installed sudo (I have slackware but always got better help here ) and I tried doing a
Code:
sudo du /
to see if I could get a general size estimate of all the directories and despite running it sudo I still was told "Cannot read directory" on some of the directories on my pc. should sudo have made it so I could read them all?
View 9 Replies
View Related
Feb 24, 2011
I'm a newbie who has just installed Maverick on my old HP box and I have to say I'm hugely impressed. I have 2x 160Gb drives in the machine, is there a utility which will let me backup/mirror certain directories automatically, whilst still being able to utilise the remaining space on the second disk?
View 2 Replies
View Related
May 6, 2011
have been working how to do this for a while finally getting around to asking....
as a long time windows user I have used a trick of creating directories that will always be the first ones displayed by using an _foldername model, for ex:
_temp
A dir
B dir
temp
assuming the four above are directories that is how they are sorted by default in windows and I commonly use this technique for special folders.
for my virtual machines folder in windows looks like this:
_base
LX-Ubuntu9.1
LX-Ubuntu11.4
XP-TestVM
...
where I put base virtual machines in _base and it makes it easy to separate them for all the other folders which are virual machines....SO....
in Ubuntu, I cant figure out a character or way to ensure this type of behavior, for example if I create a _base folder it shows up after a dirs and around the bs etc...
any know a way to create a dir with a special char that will ensure it stays on top?
View 3 Replies
View Related
May 16, 2011
I was looking to start a dual boot and was inquiring to see if I can download files from the Windows 7 boot and direct it to the Ubuntu partition/home directory.
View 3 Replies
View Related
May 26, 2011
I'm trying to setup ncmpcpp correctly and I'm running into an issue with mpd not reading my directories correctly. I dual boot ubuntu/w7 on this computer, and for the sake of laziness I just keep all of my music within the default windows folder ( since half my music was there first ). Now I have a symlink within my home directory's music folder that points to this, however according to mpd it isn't a director.
View 2 Replies
View Related
Dec 19, 2009
I have an external fat32 hard drive. It already has some files on it. Now, I mounted it and it shows the owner to be root. fine. but when I change the permissions, it does not seem to change it. I am not able able to access the directories, even as root !.I was able to create directories, but "luckybackup" wan not able to write to it due to permissions. I take it the lucky backup is executing as root/ but even otherwise, if I do chmod ugo+rwx, why do the permissions dont change ? (no erorr message by chmod).
here is the stuff: (ext drive mounted at /seagate)
rootubuntu--seagate# chmod ugo+rwx *
rootubuntu--seagate# ls -l
total 128
drwxr-xr-x 10 root root 32768 2008-08-11 21:03 HPComputerKeyFolders
drwxr-xr-x 9 root root 32768 2008-08-11 21:02 Other
drwxr-xr-x 2 root root 32768 2007-04-06 18:27 Recycled
code....
View 3 Replies
View Related