Ubuntu :: Gparted Inserts 1 MB Unalllocated Spaces?

Sep 5, 2010

Using gparted, version 0.5.1 to make 7 partitions on my hard drive. partitions 1, 2,and 3 are normal.Partition 4 is an extended partition. Within this extended partition, I have partitions 5, 6, and 7. 5 and 6 for my Linux distributions, with 7 being the linux-swap. Here's my question. I have unallocated spaces between 5 and 6, each 1 MB in size. I have been using Ubuntu since 2007 and I have never seen this before. I am wondering if I inadvertently clicked a box during installation, or is this something new in gparted.

View 4 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

Software :: Use Koverartist To Produce And Print CD/dvd Jewel Case Inserts?

Jan 17, 2010

I use Koverartist to produce and print CD/dvd jewel case inserts. It is a simple program, easy to use and effective. Recently I've needed to produce case covers for audio cassettes. I realise that this is somewhat old fashioned an activity. Has anyone come across a simple program which will suit my purpose?

View 3 Replies View Related

General :: Partition Gparted Fdisk / When Reduced The Size Of Some Linux Partitions Using Gparted?

Sep 18, 2009

I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.

The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.

When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.

When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.

When I tried it from Ubuntu installation or live cd, I received the following types of responses:

Code:
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5

Disk /dev/sda5: 28.5 GB, 28566397440 bytes
255 heads, 63 sectors/track, 3473 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5

The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.

Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.

View 2 Replies View Related

Ubuntu :: Delete Some Of Swap Spaces And Just Keep One?

Nov 7, 2010

I got a few Ubuntu versions on different partitions and a few 10G swap spaces on my 1TB disc. Is it possible to delete some of these swap spaces and just keep one? Will any of them do the job for all Ubuntu versions?

View 1 Replies View Related

Ubuntu :: Spaces After Some Letters In Terminal

Aug 6, 2011

I have strange issue with ubuntu's terminal lately it's showing up a space after some letters such as " t l f j i " when I tried to write a command by any of these letters I have got it, this problem is preventing me to implement any correct command so is it pkg issue need to re-install or I have to do something ?my OS is ubuntu 11.04 natty with gnome unity GUI/ UTF-8 | all my fonts that are using on my machine is Arial.

View 9 Replies View Related

Ubuntu :: Type Spaces In Filenames In Terminal?

Mar 18, 2010

I'm trying to access a file and copy it to another location, but the drive name has a space. I'd like to rename that too.

I know that a % sign is sometimes used, but this didn't seem to work in terminal...

View 9 Replies View Related

Ubuntu Installation :: Why These Unallocated Spaces On Disk?

Jun 7, 2010

I installed last month using manual partitioning from the live cd and saw only today that I have these 2x 1MB unallocated spaces as shown in the screenshot. A notebook where I used the same manual partitioning method also has this. Any ideas ? I certainly don't want to reinstall as all is fine on both machines.

View 4 Replies View Related

Ubuntu :: Command To Remove Spaces From Filenames?

Aug 18, 2010

I have just switched to banshee as my media player and imported my films and music. Problem is, the video list is quite hard to read because all the video files have spaces in their names which are replaced by % signs, numbers and letters. I'm wondering if there is a command I can use in the directory that will automatically remove all the spaces from the filenames or better still, replace the spaces with hyphens or underscores?

View 6 Replies View Related

Ubuntu Servers :: Chmod On Several Files With Spaces In Name

Jul 20, 2011

I don't know how to fix this command:

Code:
sudo chmod 700 *

when in the folder some files have the space character in the name. I have this error (sorry, italian version):

Code:
chmod: opzione non valida -- " "

translated is 'invalid option'. I have to chmod any single file with "", but it takes too much time...

View 4 Replies View Related

General :: Ubuntu : Delete The Extra Spaces?

Jul 28, 2010

I want to ask a question regarding the terminal in ubuntu. When i deleted some lines in the config files for example, there will be those so-called extra spaces left after deleting and i can't seem to delete those spaces and 'pull' up the lines below. So, how to delete those extra spaces?

View 13 Replies View Related

General :: Using Tilde And Spaces

May 26, 2010

I'm trying to use a tilde '~' for a filename. This works fine normally Code: rm ~/File
But when I have a file with a space in in and enclose it in quotes it takes it literally.If a word begins with an unquoted tilde character (�~�), all of the characters up to the first unquoted slash (or all characters, if there is no unquoted slash) are considered a tilde-prefix.

View 5 Replies View Related

Ubuntu :: App Or Script That Finds Directorys & Files With Spaces?

Jan 4, 2010

i need an application or shell script that can identify all the directories and files in a certain directory and can rename them to remove any spaces in the filenames.anyone know of anything that can do this?

View 9 Replies View Related

Ubuntu :: Kerberos Package Configuration Separated By Spaces

Jan 21, 2010

I am trying to install root (the data analysis tool), and after I installed it, using sudo apt-get install root-system I am brought into the package configuration interface: Configuring krb5-config Enter the hostnames of Kerberos servers in the UBUNTU-DOMAIN Kerberos realm separated by spaces. Kerberos servers for your realm: And I am prompted for a name of a server.

View 1 Replies View Related

Ubuntu :: Remove All Double Or More Spaces From A Group Of Words?

Mar 7, 2010

How could someone remove all double or more spaces from a group of words? Is there a GUI program or CLI method or both? Example: I like to turn this:

[Code]...

View 2 Replies View Related

Ubuntu :: Tomboy Links For Folder Names With Spaces?

Oct 20, 2010

The title should be clear enough. I'm sure its bad practice, but I have loads of folder names with spaces in them. In the terminal I would use the backslash e.g. /home/me/D O C S/More DocumentsBut how do I get Tomboy to recognize the link?

View 1 Replies View Related

Ubuntu :: Replace All Tab Stops In A Text File With 4 Spaces?

May 18, 2011

How can I make vi and nano such that when I press the tab key, it automatically replaces the tab with 4 spaces?

View 5 Replies View Related

Ubuntu :: Press Backspace To Delete An Entire Tab Instead Of Individual Spaces?

Jun 14, 2010

I write sources in VIM and i use the following settings:

set tabstop=4
set expandtab
set autoindent

And I have got some questions. 1:Is there any way I could do, so when I press backspace to delete an entire tab instead of individual spaces ? 2:Is there anything to do to delete a tab if I insert a closed curly bracket.

Code:
int main (void) {
} // <- and this one gets perfectly aligned

View 2 Replies View Related

Ubuntu :: Video Thumnailer Not Working On Files With Spaces In Their Names?

May 15, 2011

ffmpegthumbnailer is not working on files with spaces in their names. If i rename the file with no spaces then it creates a thumbnail with no problem.

View 4 Replies View Related

Ubuntu :: Remove All Foldernames Which Contains Spaces In Desktop With A Single Command?

Jun 8, 2011

How to remove all foldernames which contains spaces in Desktop with a single command?

View 7 Replies View Related

Fedora :: Listing Subdirectories With Spaces?

May 19, 2011

I have want to list sub-directories with spaces but am facing the following problem:

My subdirectories are:
FirstDirectory
Directory with spaces
if I use
Code:
for directory in "`find . -type d`"

[Code]...

View 5 Replies View Related

OpenSUSE :: Taskbar - Put Spaces In Name In Link?

Aug 10, 2010

(It just quietly fails so I'm left wondering like in Windoze "is it hanging?") On the taskbar, next to my computer icon I inserted a drawer. I was hoping to put in my Favorite Applications (wine apps don't seem to get inputed to opensuse's recent list.

What I've tried is: (all to no avail, also note: I've been inputing this in Add To Drawer- Custom Application Launcher.) Also, note the directory location is valid as well, it's how I did it in my windoze installation.

Code:
"wine c: Program FilesWoWWow.exe"
wine "c: Program FilesWoWWow.exe"
wine c:\ Program Files\WoW\Wow.exe
wine c: Program FilesWoWWow.exe

View 3 Replies View Related

General :: How To Kill A Process With Name Having Spaces

Dec 10, 2010

A process with name=example can be killed by killall -9 example

How to kill multiple instances of following command which contain spaces?

"valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03"

Following command returns valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03: No such file or directory

View 3 Replies View Related

General :: Replace Multiple Spaces By One Tab

Feb 2, 2011

Ive some textfiles which contains some colums seperated by a various number of spaces, but instead i need one single tab as a seperator.

View 5 Replies View Related

Programming :: Missing Separator Mean Tab Instead Of Spaces?

Jul 9, 2010

I am unable to write a simple Makefile. Though I know the concept am facing this error:
Makefile:2: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
Should I give a tab or spaces not able to continue.

View 5 Replies View Related

General :: Replacing A Line With Spaces?

Jan 5, 2011

I have a line like

port = 2566

I want to replace it as

port = 8080

how to do this in shell script. when i tried to do this with sed

sed -i 's/port=.*/port='$3'/' /root/$2

it is not recognizing spaces , it works only if line is port=2566 .

View 6 Replies View Related

General :: Running SCP Command With Spaces?

Jan 21, 2010

I am trying to run an scp command on my linux server, this is working fine, however I changed the output folder to one which has spaces and now when run, it's coming up saying SCP ambiguous target

Here's my string:
expect -c 'spawn scp -r /var/lib/asterisk/backups/Everyday/ administrator@192.1.1.1:
/Volumes/Data1/My Backup Folder/ ; expect assword ; send "MYPASSWORD " ; interact;'

View 4 Replies View Related

Programming :: C++ Won't Detect Spaces In A String?

Oct 8, 2010

I have been trying to code a program in C++ that must check for the correct syntax in order to operate. It must find ", " within the string, but I don't know why the compiler won't recognizes spaces.

Code:
#include <iostream>
#include <stdio.h>
#include <string>

[Code]....

So the user must input "<name>, <interest>" with the ", " (comma and space) but even if you respect the syntax the compiler will skip to the else condition. I don't know why, but if I put any other condition like ",s" it will work, but not with spaces.

View 7 Replies View Related

Programming :: The 'a' String Doesn't Have Any Spaces In It?

Nov 27, 2010

I have a file of the type:

a = b

where a is any string and b is an integer The 'a' string doesn't have any spaces in it.

Everything was running fine till I was searching for 'a' and finding value 'b' by expression

Code:
string="$a"
egrep -i -m1 "^[[:space:]]$string[[:space:]]*=" | awk -F'=' 'gsub(/^[[:space:]]+/,"",$2)gsub(/[[:space:]]+$/,"",$2){print $2}'

I recently ran into a situation where in the string 'a' had symbols like $, & in it. Though I haven't checked it for & but $ is definitely breaking my code

Any way to egrep for string with $ ??

One way I though was to replace every occurence of $ with $ in my search expression but that would involve an extra processing each time

View 10 Replies View Related

Programming :: Python - How To Avoid Spaces

Oct 1, 2010

In the code below:

Code:

The output is:

Code:

Looks like the "," operator in the print inside the loop is adding a space for its own.

I want to print the sequence WITHOUT spaces. Something like this:

Code:

But I couldn't figure out how to do this.....

How to print a sequence, inside a loop, without that space ?

View 14 Replies View Related







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