file name for downloads [Solved]
location: ubuntuforums.com - date: October 31, 2010
Every time I download a file with firefox it names everything export.php whatever the file type be it zip or exe or sql etc and I cannot even get an option to change the name before I save it.
anyone know a fix for this?
File copying during umount/mount
location: ubuntuforums.com - date: November 1, 2012
I am running Ubuntu 12.04 Sever (64-bit) and have opted to go with mhddfs to pool three drives (two 2TB and one 500GB) into one main share and another three identical drives (two 2TB and one 500GB) into a backup pool that nightly backs up everything from the main share pool onto the backup pool using rsync.
My main question is this: based on this user's experience in CentOS (at the bottom of this page), using crontab I set my mhddfs pools to automatically umount and mount once a day at 5am so as to avoid "leaking free space counter of parent file system." Problem is that when doing a very large file copy (many files large and small totaling 2.5TB), and the pool automatically umounts and mounts in the middle of the transfer (and I'm asleep), what is happening to those files that are getting transferred at the time the umount and mount occur? I don't want to lose any files during a cp or rsync process because it missed a few during the minute while my pools are umounting and
Importing a csv file into a mysql database
location: linuxquestions.com - date: September 17, 2009
Hi there --
I recently created a database with one table in it. The table, in turn has three fields. Listed below are the characteristics of the fields:
Quote:
How do I get the file name of the current wallpaper under F20, XFCE
location: linuxquestions.com - date: May 2, 2014
I have a dual monitor setup running Fedora 20/Xfce. Under Xfce I have each monitor with different wallpaper selected from a very long list of pictures. It changes every 2 hours. Sometimes I will run across a picture that I haven' seen in months, and want the filename of it so I can make a copy or it is poor quality and I want to delete it. I cannot seem to find a way to get the file name. One would think it would be highlighted in the list of pictures, but one can only see 5 or so at a time and scrolling down through the hundreds of pictures is impractical and the images don't keep up with the scroll anyway. How can I issue a command that would give me the name of the current wallpaper on each monitor?
Thanks in advance,
John
Setting a 'Domain Name' during 13.10 home server install is it essential?
location: ubuntuforums.com - date: December 14, 2013
I've ended up starting from scratch with my home server again, and have got to a prompt during the install that I don't recall seeing on previous iterations. It reads as follows:
[!] Configure the network
The domain name is part of your Internet address to the right of your host name. It is often something that ends in .com, .net, .edu, or .org. If you are setting up a home server network, you can make something up, but be sure you use the same domain name on all your computers.
Domain name:
__________________________________________________ ___________________
<Go Back> <Continue>
There are other computers on the local network, a mix of Windows, Android and iOS devices, but I've never done anything on those to set them up within a local domain. Does this option matter for the purposes of setting up this server whether I leave it blank, or do
[SOLVED] Unzip and create directory with file name
location: ubuntuforums.com - date: July 11, 2010
I downloaded a bunch of music from Jamendo. The albums come in zip files. As it is I have to create directories to unzip the files too. For instance I have:
Aygan - Neural Groove -- Jamendo - MP3 VBR 192k - 2009.02.11 [www.jamendo.com].zip
I have to create a directory Aygan_Neutral_Groove then extract the files into that directory.
Is there a way to extract the files from the archives, while creating directories based on the file name and put the extracted files in those directories in one operation?
How to search and replace file name characters
location: ubuntuforums.com - date: March 18, 2013
I have 2 TB of mp3 files in which I need to replace all instances of : and / in the file names within directories three or four levels deep with a dash (-).
I have no knowledge of any programming language and I'm not sure which tool would be the quickest/easiest to use.
Is there a simple way to do this?
[HOWTO] add an autocomplete file extension in bash shell
location: ubuntuforums.com - date: November 24, 2011
This HOWTO is for you if:
You have a command "somecommand" which you type at the Bash prompt,
and you would like it to be associated with a certain file extension, "ext" say.
Surprisingly, googling "ubuntu bash completion file extension" did not bring up any Ubuntu Forums hits on the first page, and none of the results seemed to directly address my question. Hence this HOWTO.
Short and sweet...
You need only add the line
Code:
complete -f -X '!*.ext' somecommand
to your .bashrc file.
To be perfectly clear on what this will achieve, consider the following example. Suppose you were in a directory that had exactly two files in it,
Code:
foo.txt
foo.ext
Before adding the 'complete' command to bashrc, typing
Code:
somecommand foo
and then pressing TAB would result in
Code:
somecommand foo.
since there is no preference associating 'somecommand' with the extension 'ext'.
After adding the 'complete' command, pressing TAB would p
Bash Script to create a folder with current date in the name
location: ubuntuforums.com - date: April 4, 2013
Hi Guys,
I routinely move photos from a digital camera to a folder on a hard drive.
I usually name the destination folder today's date. Example: 4-april-2013
I was wondering is it possible to write a script that would make a folder and name it the current date?
I'd really appreciate any advice. It seems that should be doable, but I don't know how.
file name change command line
location: ubuntuforums.com - date: September 3, 2008
Help me please, I lost/forget a very nice and comfortable file name change utility. It was a simple command line tool, it opened all file names of a directory with an editor (vim for me), each file name in a different row, I could edit them, and then write back with the new file name. And now I forget how it was, I could not find it in Google... maybe somebody can help me? Thanks....
please wait...
Page: 1 2 3 4 5 6 7 8 9 10