Ubuntu :: Place To Set Remote File Sizes Differently To Localbox Settings?
Jul 10, 2010
got a weird one with an upload script.Max upload sizes all set v high (200m)Works fine with 100Mb+ files on the linuxbox, but when I try from my mac via network ip address there seems a fils size limit of somewhere between 15 - 20 Mbis there a place to set remote file sizes differently to localbox settings
View 1 Replies
ADVERTISEMENT
Jan 29, 2011
i would like to find and backup all *.mp4 files from /Pictures and its sub-directories and move them to a single directory on a remote. I can find and move the files but I don't want the directory structure...just the files to be placed in the remote directory.
To find my files I use
rsync -r -a -v -e "ssh -l user" --delete --include '*/' --include '*.mp4' --exclude '*' /home/drew/Pictures/ remoteserver:/Users/drew/mp4
but this creates all the subdirectories
I also tried
find ~/Pictures -name "*.mp4" -exec rsync -r -a -v -e "ssh -l user" --delete {} remote:/Users/drew/mp4 ;
This works but takes forever
View 3 Replies
View Related
May 9, 2011
I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.
View 7 Replies
View Related
Apr 26, 2010
I'm downloading the iso images for 9.10 Alternate CD. As the desktop does not work, graphical. For whatever reason even once it starts to boot live (With no direct install) it says in the "boot terminal" (non-graphical, full screen) as I call it "Authentication Failure even bEFORE the actual program is loaded. Asks me for username / password which does not exist, etc. I'm sick of windows. I used Ubuntu for about a week and fell in love.
Windows is poppy-cosh, compared to the speed, performance, customization, updates, few errors and bugs, everything is superb! I already converted my fiance and best friend to using the OS in Dual-Boot I'll be an avid supporter and do even more using my media company to help promote xD What's the point? Wine allows me to use all the programs I need that require windows, regardless.. You have converted me. "If you build it, they will come." Amazing job.
I tried re-installing windows and to no-evail for whatever reason screwed up my entire re-installation of Ubuntu. Instead of saying Owner it says Administrator for the new install. Here's my list:
1.) I need to completely wipe out all partitions and start over with a "fresh" HDD. Any ideas how to do so without an OS? It was suggested on wiki answers to use BootDisk.com
2.) I have the torrent downloading which is 689.6MB [URL] and the normal ISO which is 690MB [URL] from two different Ubuntu.com pages...Which do I use? Why are they two different file sizes? I assume the larger file size is the best to use. This has happened when downloading the Desktop CD as well. The lesser file never worked properly. Do you guys have incomplete files on the server or something or perhaps just my hardware?
3.) Use alternate installer to have Ubuntu as the ONLY OS. Alternate Option: Put Ubuntu alternate cd installer onto my external HDD by Seagate and boot up to it, then install ubuntu...
View 5 Replies
View Related
Mar 15, 2010
I just recently reinstalled (clean) Ubuntu 9.10 Karmic Koala last week. In that time, over 40GB of log files were created until the FileSystem was full. I then received a low disk space message and ran disk usage analyzer to find out that almost all of the 44GB I had free were taken up by the /var/log directory. I then preceded to delete the 5 largest files which freed up over 40 GB of space.
Basically I believe that I have two problems:
1.) The log files are logging too much information (40 GB in one week).
2.) I need a way to automatically limit the size of the log files. I have tried searching online for this solution and briefly came across logrotate but I don't believe that this will completely solve my problem as it only compresses and backs up older logs. I need something that will remove old log entries altogether. If logrotate is capable of this can someone please walk me through the process? I do not remember all five log files that were in question but they did include: messages, syslog, and daemon.log. I believe kern.log may have been involved too.
View 2 Replies
View Related
Aug 21, 2011
i have a computer with 3 users on it, and a folder using samba that everyone on the network has access to. Lets say that, the folder is stored in /etc/sharedfolder. What happens is, when user1 puts a folder in it, then logs off, user 2 attempts to modify it and fails, because permission is set to 755, and they are not in the same group. (even if they were, it should still need to be 775) Anyway, my current solution is, every 5 minutes a crontab changes permission like so: chmod 777 -R /etc/sharedfiles && chown useradmin:superadmin -R /etc/sharedfiles Which works, but seeing as there is getting close to a gig in there, this is a bad solution, as it eats up the computers resources. Solutions that i think might work:
1) create a script that only changes permissions that need be changed.
2) change file permission settings to force all documents to inherit parent document settings
View 9 Replies
View Related
Oct 12, 2010
I have a desktop with Ubuntu 10.10 along with a laptop with Ubuntu 10.10. I have configured Remote Desktop with the following settings on both machines. However, on either machine, I go to Terminal Server Client. I type in the IP address and I hit connect (with RDP selected) and I get this error.
Or using VNC: An Error Occurred.
View 9 Replies
View Related
Apr 24, 2010
I was wondering if you could help me how to measure the time needed for Ubuntu to copy a file from one place to another.
View 2 Replies
View Related
Jun 2, 2010
I have a script that among other things generates a makefile with an error that causes make to fail. specifically, the string "-Wimplicit-function-dec" should be changed a bit to "-Wimplicit-function-declaration". Is there a way to have bash add the new eight characters in the right place (on line 105)?
View 2 Replies
View Related
Dec 8, 2010
When connecting to a database in a php script, where would be the safest place to store the connect.php file. I am thinking it should not be in public_html, but is it safe in sub folders or is there a method people generally use to keep such files secure and inaccessible.
The file I mean is one including the database name, user and password etc.
View 2 Replies
View Related
Mar 27, 2010
I wanted to know how can I change the default place of shared object files of a program in a system. let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.
View 1 Replies
View Related
Nov 30, 2010
I have a problem with remote connection over SSH and Xming, Every time I connect to Linux host from Windows I have to run gnome-appearance-settings to restore scheme settings to the one set after directly loging to Ubuntu. Otherwise, all fonts sizes and colors are set in such a way that they are barely readable. Is there a way to save this configuration so I will not have to re-set it alays after login? Ubuntu version 10.10.
View 1 Replies
View Related
Sep 28, 2011
I am trying to parse a line from a file and place the values into separate variables:
input.txt:
Code:
CreateVegaFeed-20110928-before-skip-start
this is the code i have done so far:
Code:
$input_file="input.txt"
INPUT_FILE=`cat $input_file`
for i in $INPUT_FILE
[Code].....
View 14 Replies
View Related
Sep 19, 2011
I want to copy all files with the name XYZ* into one folder. The problem is that the files are in different subfolders and that not even the depth of the folder structure is the same for all files. Luckily, at least each file has a unique name.
Of course, I thought about the cp command but I guess the depth of the folder structure needs to be the same for this to work.
View 3 Replies
View Related
Jan 16, 2010
I'm trying to generate MD5 hashtext within gnome-terminal that will match that generated by PHP running on a live web server. However, when I hash the same text I get completely different results!
Code:
<?php md5('testing123') ?> ===> 7f2ababa423061c509f4923dd04b6cf1
bash$ echo 'testing123' | openssl md5 ===> bad9425ff652b1bd52b49720abecf0ba
Could this be a character set problem? My terminal is running UTF-8, but even if I change it to ISO-8859-1, the hashtext that's generated is the same. Also tried using md5sum with a text file, saved in various character encodings, but still got the same [wrong] hashtext. I'm running Ubuntu 9.10, tried running the local hash in both gnome-terminal 2.28.1 and the CTRL+ALT+F1 console.
View 2 Replies
View Related
May 29, 2010
Now I tried installing the KDE destop enviremont, the install went just fine but when I try to log into KDE I see the startup screen for a second then everything goes dark.It stays that way in the background i think the desktop is there because the mouse cursor is there, I can move it around but that's all.Does KDE work differently and so can the different xserver be the cause of KDE not working?
View 5 Replies
View Related
Jul 5, 2010
I have plugins for viewing pdf files in both Opera and Firefox. Most pdf files opens embedded in the browser, just as I want. But there is some pdf files I am prompted to save before I can open, just as if the pdf is not recognized as a pdf ? A closer look shows that this pdf's are made using pdf-printers, drawing programs and other non-Adobe programs. It probably misses some Mime coding or other things that Adobe distiller puts into native pdf's ? How can I make the browser/system/plugin/acroread only care about the extension, and not the creator ?
View 2 Replies
View Related
Mar 10, 2011
I have a partition with my firefox profile that when I mount with Pysdm it cannot access. But when I mount normally by right clicking, unmount/mount. I can.
View 5 Replies
View Related
Jun 22, 2010
I'm trying to replicate the behavior of the sha1sum executable in some java code, however, in the process I've discovered that sha1sum appears to behave differently given the same input in two scenarios.
Assume input of '12345' without the single quotes and with no newline.
If I put this data into a file (file1) and run sha1sum from the command line:
However, if I do this, I get a different result:
Using the apache commons-codec jar, I'm able to read in file1, get it's contents, and perform a .shahex() on the content and get the first result. However, I need to get the second result (due to legacy code) and I can't figure out why sha1sum is behaving differently, or what grep is doing to the input.
The system is running CentOS 5.4 with sha1sum 5.97
View 3 Replies
View Related
Jan 28, 2011
Some time ago I optimised my fonts following dugan's great tutorial. I mostly used Seamonkey to browse so I didn't notice the difference until today I ran Firefox. The font preferences seem to be identical, yet the fonts look differently on each browser. See the attachments (the browser on the left-hand side is Seamonkey)
View 2 Replies
View Related
May 22, 2011
Why does on some computers my terminal window have a background I can see through and on others its a solid color? I have Ubuntu 10.04 installed on 4 machines as base OS and I have many virtual machines of it also. I havent changed the terminal preferences on any of them, however on some computers the terminal background which is purple is not solid in that you can see what is in the background behind it. On others the background is truly solid purple; you can not see behind/through it.
Is there any way to change the terminal window for these machines that are displaying solid to the 'see-thru' way? Ive been using some ebooks and things and really like opening up vi/vim in the purple see-thru window that allows me to write and see the text in the background...however on some machines I can not do this because the terminal display is truly solid. ? All my computers have the same profile settings for terminal..
color = use system theme
background = Solid color
Note - I am making a distinction here between what I call see-thru and the 'transparent' setting in the terminal preferences as this seems to use the desktop background and is different from what I am talking here.
View 5 Replies
View Related
Mar 23, 2010
So I ran a software in both KDE and Gnome respectively and it seems both of them have separate displays. By that I mean, one is displaying a part of the string(a Label) and the other is not displaying the string at all. I will include some relevant information such as the software uses SWT kit. Also the string is displayed perfect in Windows. If it's still not clear I will sum it up in a sentence. I am trying to display a label using SWT kit and, its being displayed correctly on Windows,partially correct on KDE(Half of the string) and not displayed on Gnome.
I have tried GridDat.grabExcessHorizontalSpace=true, but it didn't. how to approach the problem otherwise?
View 3 Replies
View Related
Jul 19, 2011
I have an initscript that behaves slightly differently in the UK than it does in the US. Not a huge issue, but I'd like to know why and how to fix it. I imagine it has something to do with localization, but I'm at a loss as to what it could be, as it's just bash.
in the UK:
Code:
[root@server ~]# /etc/init.d/worker
status}
in the US:
[Code]...
View 6 Replies
View Related
May 14, 2010
The scrollbars you see around the form do not show up on Firefox on Mac or Windows, and don't show up in Opera.Why is Firefox on Slack displaying pages in a slightly different manner?
View 14 Replies
View Related
Mar 16, 2010
I am making a backup on an ntfs disk, mounted with:
using the following command:
Running this (or rather the shell script containing it) from the command line is OK, but if I run it as a cron job, I get thousands of messages:
(without line breaks, actually).
These files are all ordinary files made under Windows; the above should read "offici�le stukken", and from the command line it does, but not in cron.
I guess I need to set an environment variable, but which one?
View 1 Replies
View Related
Aug 30, 2010
I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times
and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.
View 2 Replies
View Related
Feb 5, 2010
I am using below script to ftp a file to remote machine
Code:
#!/bin/bash
ftp -nv <<EOF
open ${SERVER}
[code]....
When I execute the above file its working fine and displaying output on to the screen. How can I log the output to a file?
View 7 Replies
View Related
Sep 5, 2010
I am using debian testing on my office pc, but i need to access it's desktop from time to time. So i need No machine/teamviewer software that can provide me with possibility to interact my desktop. The problem is, that i want to run shadowed session type, because teamviewer is not good for me. So, when i run no machine in shadowed mode, it crashes with message "The connection with remote server was shut down, please check your network settings and try again." The log is here:
[Code]....
View 1 Replies
View Related
Oct 26, 2010
I hacked up all my previous linux ubuntu files to my external hd. Now I want the previous system settings back How do I do that? What is the name of the old system config file ? Where is it stored ?What path?
View 1 Replies
View Related
Sep 24, 2010
I would like to copy a Compiz settings file to a new installation, so I would not have to go through all the customizations again. Is this possible?
View 3 Replies
View Related