How To Shrink A Large Audio Ogg File

I would like to learn how to create a zip file. The word zip file is a Windows/Microsoft word. I do not know what word is used in Linux OS.
What I am trying to do is send a copy of an internet radio show. The show is two hours long. When I try to attach the audio file to an email. I am told the file is too large.
I have permission from the host of the radio show to make a copy and send it to a friend.


Similar Content



How To Write Other Language, [i.e. 'Kannada'] Word Documents In Linux Mint 17

Hello everybody,

My system specifications: Samsung RV509, i3, 300GB HDD, 3GB Ram, Dual boot Windows7 & LM 17 cinnamon 32bit.

I have OpenOffice preinstalled on my system. I would like to create 'kannada' language word documents and be able to save them as windows .doc type file and/or .pdf file. [Kannada is the language of a state in south India.]

In case of windows; some 'kannada' language softwares called as 'Baraha' and 'Nudi' are available, that can be installed on a windows pc and 'kannada' language word documents can be created there.

These 'kannada' language softwares are not available for Linux.

However I want to be able to create 'kannada' language word documents on my Linux machine.

Is this possible? Could someone please kindly help me in this regard? I would be greatfull.

Thanks & Regards

Anil

How To Copy File From Remote Host To Local Host Then Delete From Remote Host

I have an expect script to SSH to a remote host and obtain some user inputs and information about the server/network configuration. The responses are saved in a text file that I then need to copy to my local host so that I can read the lines into variables for use in the parent shell script.

Is there a way to do this without needing to enter the username and password for the local host to use function scp? I have tried the following in my expect script to no avail:
Code:
spawn scp $usr@$host:$flnm .
expect {
	-re "(.*)assword:" { 
		send -s "$pswd\r"
	}
}

I have also tried to directly scp the file and enter the username and password to try to debug the issue, and that doesn't work either:
Code:
spawn scp file.txt user@host:file.txt
expect {
	-re "(.*)assword:" {
		send -s "password\r"
	}
	"you sure you want to continue connecting" {
		send -s "yes\r"
		exp_continue
	}
}

In both scenarios I have used exp_internal 1, and there are no errors. But I do not end up with the file on my local host.

Following the copy, I would like to delete the file from the remote host. Any suggestions on how to accomplish this?

Mplayer Song Length Limit

(Raspberry Pi Model B)
I have a really long audio file I'd like to play.
It's 10 hours long (white noise)

However, when playing it with mplayer it only gets to 4 hours before determining it's now end of file.

Code:
A:14360.8 ( 3:59:20.8) of 36080.8 (10:01:20.7)  7.2


Exiting... (End of file)

I know the audio file isn't corrupted past this point since I can fast-forward to 3:59:00:0 and let it play and it works fine (at least for the 2m I let it play)

I could in theory break up the file into 3.5 chunks to stay below the limit but I'm wondering if this is a inherent limitation of mplayer (didn't expect 4hr+) or if it's a bug.

File Copy With Netcat Missing

Hi everyone

long story short

i copied a file using netcat from one server to another but the file is not in the location it should be.

Curently i have a "find" command running in order to get the file but the disk is 3Tb and will take ages till it finds it.

Is there any other way i could figure out where this file is?

Can i repeat the copy procedure with netcat and while the copy is in progress to find out where the file is? maybe with some sort of "lsof"

Maybe verbosing netcat?

Thanks

Cp $var1 Var2 Doesn't Work

I'm running a bash script on a Raspberry Pi to control LED pixels. I'm stuck on a basic copy command.

I have a variable called nexttemp which contains the string B_254_TieDyeKaleidoscope.fseq

That file, in the same directory, is a large binary file that I'm trying to copy to a file called MasterFseq.fseq

If I do a

cp nexttemp MasterFseq.fseq

then MasterFseq.fseq contains the B_254_TieDyeKaleidoscope.fseq file name.

I want instead to have copied the binary file to MasterFseq.fseq.

It's my understanding that a $nexttemp will point to the binary file and not the name of it but when I do a

cp $nexttemp MasterFseq.fseq

the $nexttemp is thrown away and I'm told there is no destination file name, eg.

root@FPP:/home/pi/media/sequences# echo cp $nexttemp MasterFseq.fseq
+ echo cp MasterFseq.fseq
cp MasterFseq.fseq

How do I get the binaray file, which is named in nexttemp, copied to MasterFseq.fseq?

John

Making A DB Backup And Send It To Another Server

Hello everyone;

At this time I need to make a sh script to make a db backup an send it to another server.

Thinking about this, I think I have to:
1.- Make a connection beetween the servers without password
2.- The scrip must to do:
a.- Make the mysqldump
b.- Put it in a gzip file
c.- Send througth scp the gzip file and ONLY when the copy has done the script have to delete the files that are 3 days old.

Could you help me with this?

Do you consider that is a good idea or you have a better one?

Thanks in advance.

Create A Large File In Linux

I want to create a large file size lets says 600G. I used command
# fallocate -l 600G file01
Although I got the file of my size but the things is, there is no data. I want to create a file with size 600G and random data in it.

Any suggestion?

Using Ffmpeg To Fade In Audio, BUT Original Audio From Video Is Gone

Hi

I am trying to fade in audio at 39 seconds into the video with existing audio.

It did work, the mp3 file fades in at 39 seconds, however the original audio from the video is silence or removed.

Here is the code I've use.

Code:
ffmpeg -i audio.mp3 -i test.mp4 -c:v copy -strict experimental -shortest -af 'afade=t=in:st=39' test.mp4

How can I fix this? Thanks

Show .hidden .files On Open... And Browse... Dialogs In Xubuntu/xfce

I am running xubuntu 11.10, fully updated, on an Acer 250 netbook (1GB ram, 1.8 GHz clock, single core Atom processor, if you can believe it). Runs pretty well, I think. So much so that I have decided to migrate from Windows to Linux.

My first question to the forum is this: I have set the Thunar file explorer to show hidden files. However, hidden files still don't show up on various File Open or Browse... dialogs.

How can I set up xfce or xubuntu to always display .hiddenfiles in Open... or Browse... dialogs?

Problem comes up when I want to edit some .config file or run the alacarte Main Menu editor and have to specify some long path to an executable in a hidden directory (as in wine). I have to enter the file name manually, which gets to be a problem for my thumb-fingered typing.

Need Commands For The Following Scenario

scenario: two servers A and B are connected together
server A can not send a file name F directly to server B
server B can send anything to server A

How can we copy or move the file F from server A TO B with all file permissions

Thanks for your kind help