Ubuntu :: How To Rename Folder [space]
Feb 28, 2010
How to rename folder which contain space in foldername
Path : /root/Documents/untitled folder
I want to replace space with undersope how to do that
Output : /root/Documents/untitled_folder
through terminal any idea ?
View 9 Replies
ADVERTISEMENT
Feb 22, 2010
I've tried "rename" off the right context menu in XFE (ver. 1.32.1)
I've tried Krename.
I've tried quoting;
$ mv ' Outlander - 2009.avi' 'Outlander - 2009.avi'
mv: cannot stat ` Outlander - 2009.avi': No such file or directory
I've tried escaping;
$ mv Outlander - 2009.avi Outlander - 2009.avi
mv: cannot stat ` Outlander - 2009.avi': No such file or directory
I've tried forgetting about it & hoping it will go away...
GNU bash, version 4.1.0
Debian Squeeze with 2.6.32-trunk-686
View 14 Replies
View Related
Oct 14, 2010
I have this script:
Quote:
for f in d*; do mv "$f" "T${f#d}"; done
it outputs all files which strats with letter d to T but it doesn't work when i run it from Cron. It only affect root file / .
How i can make work like this:
/home/user/files/dfile.txt
=>
/home/user/files/Tfile.txt
View 2 Replies
View Related
Feb 14, 2010
Getting together a script that will add numbers to all the files in a folder.
I've ripped most of my CDs to oggs for my new pmp, but I found that the pmp doesn't like files that are numbered just as 1 and 2, as it thinks that the 2 is more than 10.
So instead of going through all of my music folders and renaming every file by hand from 1 to 01 and from 2 to 02, I'd ask if there's a script that can be executed to add these numbers for me. It'd be even better if it only added the number to the files with only one digit.
Here's an example:
I want to rename:
And I'd like to do it to all single-digit files lower than 10 in the folder, if possible. If not, I can isolate them by hand.
View 4 Replies
View Related
Feb 24, 2010
I want to add suffix or prefix in all files (.txt , .avi . , .exe)from a folder
View 9 Replies
View Related
Sep 26, 2009
I have all my music on an external HD and the filename and path of each file is in the format of the following
Code:
Ex HD Root / Music / Artist / Album / Artist - Album - Track No - Track Name.mp3
OCD I know
[code]...
View 2 Replies
View Related
May 19, 2010
I am running Linux and I have some basic console knowledge but my current problem is quite difficult and I dont know how to achieve this. I want/need to rename everything within a folder that matches a given string.
By everything I mean:
folders/files
content within a file
content in hidden files
Basically I want to refactor a Java-project. Sure, I could use Eclipse to handle the replacing, but this leaves out the folders or resources outside of my workspace. I was thinking of a script that could do the job for me but this seems rather tricky. For instance when it comes to folder-/file-rename I want to replace only the part of the name that matches my string, the rest should remain untouched.
View 2 Replies
View Related
Jun 25, 2010
I have a feeling that there is no answer to this issue but I'll try.I have an rsync server running. If I rename a folder, rsync will re-transfer all the files under that folder. Does anyone know if there's any automated way around this ?
View 1 Replies
View Related
Oct 14, 2010
I have installed the Ubuntu distro first in Portuguese. Then, I decided I wanted the English language. I would like that the default folders like "Desktop" and "Documents" were renamed to this names, instead of staying in their Portuguese equivalent.
I can not guarantee this, but I am almost certain I did successfully convert the folder names from Portuguese to English on a previous install when I decided to change the language. So, I suppose this is possible.
View 1 Replies
View Related
May 3, 2011
I have a large collection of music albums sorted in folders which are named like this: "Zombie Ritual - 2004 - Night Of The Zombie Party" (%{artist} - %{year} - %{album}). I want to rename them so as to be indicative of the bitrate, for example, "Zombie Ritual - 2004 - Night Of The Zombie Party" => "Zombie Ritual - 2004 - Night Of The Zombie Party (@320)". It will be hard to do this manually. I tried to use EasyTag and Kid3 to do this, but they cannot add bitrate to tags.
View 6 Replies
View Related
Feb 24, 2011
In the Windows world where I came from, Irfanview freeware easily renamed a large folder of JPEG photos by EXIF time & date stamps, appending a unique number if the time and date stamps were the same. Is there an equivalent rename-by-EXIF information batch command in Ubuntu 10.04 Lucid? For example, change (based solely on EXIF information): FROM:DSC_0001.JPG TO:20110224_09:34:56am.JPG
View 9 Replies
View Related
Jun 18, 2011
I am trying to hide some folders in Ubuntu Linux which are always hidden in Windows through File/Folder Attributes (attrib -h)
It is not an option for me to rename the folder from let's say "Ancient texts directory" to ".Ancient Texts Directory" because the programs associated with these files and shortcuts will not work in Windows. I would like to make the folder hidden by not renaming the folder. Is that so hard to ask?
Is there really no other way of making a folder or a file hidden in Linux just like in Windows by Applying Attributes? I Don't want to rename it by putting a dot in front of it. Moreover renaming a file by putting a dot in front of the name changes the position the folder appears in the list view. For some people this may be ridiculous, but for me with a few hundred files and folders and subfolders, this organisation is important, aside from the aforementioned reasons.
I need to maintain compatibility between the two operating systems' basic folder structure as i must use both Operating systems.
View 9 Replies
View Related
Aug 29, 2010
I have ubuntu install on a 500 gb drive. It says i have 409 gb free. I've been able to account for 40 gb, but when I try to check the folder proc, it lists 128 tb. How much space is this folder actually taking up?
View 1 Replies
View Related
Jun 6, 2010
I have installed ubuntu on my second hd, the size of is 500 GB.The live Ubuntu cd installation have used only 250 GB, the rest remains as NTFS system. And now I do need more space on my home folder, I would like to convert the 250 GB NTFS to Linux system and add it to my home folder. But I don't know how. I have looked at Disk Utilities, I have not found this possibility.
View 6 Replies
View Related
Feb 23, 2011
I am using Ubuntu in a laptop. The C disk has 15GB, and Windows is installed in C disk. I installed Netbook Ubuntu in D disk which only has 10GB free space. Now I am trying to install some applications in ubuntu such as emacs. But the system says it only has about 450Mb disk space. So how could I get more space? Can I install the applications under some different path? without using apt-get?
View 3 Replies
View Related
May 20, 2011
When I reinstalled ubuntu I chose to encrypt my home folder (something that i've never done before) but now that I know it doesn't really make a difference i'd like to decrypt it because the .encryptfs folder is taking up so much space i'm getting notifications every time I log in.
View 7 Replies
View Related
Apr 9, 2011
Was installing wine 1.2.2 on ubuntu 10.10 my home folder had 60GB of free space before the installation started I chose to install manually. I installed all the dependencies manually from terminal. Then compiled wine 1.2.2 from the source code using ./configue make While running the 'make' process my 60GB home folder ran out of disk space. The make process was non ending. Ultimately it got aborted due to lack of space. Can't retrieve disk space that was lost since then. Tried with terminal commands like
apt-get clean
apt-get autoclean
apt-get autoremove
Even tried to get into the wine source folder from terminal and use 'make uninstall' Nothing works and I now have only 50Mb of disk space on my home folder
View 3 Replies
View Related
Jul 25, 2011
How would I rename all files with a leading decimal point recursivley? I some how got all my music files to have a decimal point.I tried the below and got a " sed argument to long".[CODE]find /media/MUSIC -type f -name "*.wma" | xargs -0 sed -i 's/.(.*)/1/'[CODE]
Another question, can i just use -type f with out -name ? I am sure that all the files got the decimal point added as the first character.
View 14 Replies
View Related
Sep 26, 2010
I am running du -h --max-depth=1 and it is hanging, presumably processing a large folder.
Could you give me a list of the large folders in the Redhat OS?
Is there any way to check if du has failed or is hanging/processing a folder?
How long should du -h --max-depth=1 take on 40GB of data?
Solved, it was taking a long time on a 29gb /var/log folder
View 3 Replies
View Related
Feb 9, 2011
Below you'll see that my home server is currently maxed with something hidden.I noticed that my machine was maxed so i ran a du on / to see where the issue was happening. I freed up 6gbs so far and ~ciaranw keeps eating up any free disk space. But when i look to see what in the folder could be doing this, i get nothing back that accounts for the currently 19gbs thereI've been a long time user of forums but never found the need to actually post seeing as my problem was usually covered, this problem has stumped my googling prowess
[root@mordothebabyeater home]# df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
[code]....
View 4 Replies
View Related
Jan 4, 2010
Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
View 2 Replies
View Related
Dec 17, 2010
i installed fedora kde 32 bit and iam realy loving it. but i want to resize my home partition as i got a message there is no space in my home folder i downloaded a Disk utility application .... to try and resize .... but looks like i dont know what to do
View 3 Replies
View Related
Mar 6, 2010
I have linux and windowsxp on one machine. I have only 3gigs free on the windowxp machine and 20gigs free on the linux machine. I want to transfer space from the linux box to the windows machine.Is this possible and what steps would I need to follow to do this?
View 1 Replies
View Related
May 25, 2010
i used gddrescure to clone an 80gb harddrive and this is the result ROFL.i guess you can only do this making sure the target drive is the same size, you see i didnt know lol so..i now have THIS problem.can anyone tell me how to turn my unallocated space into a usable 'free' space? i could play with gparted right now but i dont wanna do anything wrong, so if theres anyone who can tell me how to do this.
View 1 Replies
View Related
Jul 22, 2010
i made space by shrinking my window partition and so i have unallocated and would like to add to sda2 to have more space. Check out this pic. How can i do this?
View 1 Replies
View Related
Apr 23, 2011
I installed Ubuntu 10.10 with wubi and i have been enjoying my Ubuntu experience a lot. I installed quite a bit of programs and spent a couple hours customizing my machine. The problem is im running out of disc space. Any ideas on how i can add more space. I have gparted but i dont know where to move the free space to because wubi installed it.
View 1 Replies
View Related
Mar 20, 2010
my home partition is an extended one, and when i want to create an unallocated space the space will stay in that extended partition. but there is also an 7 gb unallocated space which i want to merge with the other unallocated space. I also cannot extend that partition over that 7 gb. how can i overcome that problem?
i m also uploading a screenshot of gparted.[URL]..
View 4 Replies
View Related
Dec 13, 2010
I am developing a I2C CDROM client driver. The CDROM firmware supports TOC information read through a I2C command. It sends the TOC information in burst ( Interrupts a GPIO pin when it is ready ) and my CPU does a I2C read to read the TOC. When the CDROM firmware finishes sending the last data burst , it informs my CPU that it is done with the TOC, by a flag in the last data burst. I would like to know, which is the most efficinet way I can send these TOC information to userspace?
View 4 Replies
View Related
Sep 22, 2009
I am writing device driver in which i have to call callback function from kernel space, which are saving my data. But the callback functions are in userspace. While accessing them i am getting segmentation fault.
View 1 Replies
View Related
Jul 7, 2009
I wanna write a file in kernel space but from my searching I can to know that instead of writeing file in kernel space ,I can write data to user space by copy_to_user space.
But link is missing ...I dont know how will my user space will access kernel space means my function in kernel space which will do copy_to_user /....How my user space function will call my kernel level function ..
Can any one of you provide me with some example file which are doing this .I know every char driver is using it ...but i could not trace back how user level function is accessing it ...i m confused between user space and kernel space.
View 2 Replies
View Related