General :: Automatic File Movers?
Oct 17, 2010
I have been using linux now for a very short time, and the more I use the more I like, however some things are just too far beyond me to figure out, like scripts, etc... So I do prefer to use GUI apps wherever possible, and I'm using SUSE 11.3I'm looking for a way to automatically manage a folder I use for auto downloads. I'd like to be able to at least:
Move files to another directory based on either the files age i.e. 2 weeks, or the remaining disk space on the disk to initiate a move function. (Preferably the 1st and then the 2nd if necessary)And then a function to lookup similar folder names and put the file into that folder if it exists. (More complex I know, I'm not holding my breath)I've been looking for something like this for some time now and haven't been able to find anything via google
View 3 Replies
ADVERTISEMENT
May 8, 2010
I wrote this script in attempt to set-up automatic file fetch from the server using SSH; I want to collect *.pdf files and would like this to happened automatically. However, when I run below script I keep getting prompted for a password, how to include password in the script and how to export list of transferred files into the log file in txt format
scp root@192.168.1.1:/var/www/html/Apps/*.pdf /media/DataBackup/Linux/imported/ &>/home/denis/Logs/remotefilefetch.sh.out
This script works to a point, however I am prompted for a password and log file is created but remains empty.
View 3 Replies
View Related
Mar 1, 2010
I just came back from a meeting with someone wo wants this functionality:When he saves a file on *his* machine, it will automatically get copied onto a server (this is on an office LAN). This is so if there's a virus attack on his machine, he will have an uninfected backup copy.
To make matters worse, the client machines will be WINDOZE. Apparently he's seen this kind of functionality at an office somewhere (he was saying something about "Microsoft" , but my brain has erased that part of the conversation ), and now wants it for himself.
I was thinking about Samba obviously, but the tricky part is doing the copying when the user *saves* a file. This will require hooks into the OS to see when a file is being saved.*If* I manage to persuade him to switch his client machines to Linux (which would be the ideal choice and make life far easier), how would it be done? I'd have to use the File Alteration MOnitor in the kernel, right?Would it be possible to write the copying code in a shell script?
View 6 Replies
View Related
Feb 2, 2010
I have been looking around online and I am seeing that there are several solutions for doing a nightly automated backup on Linux. I was wondering what people here actually use for doing such and why they use one particular backup method over another.
What I am looking to do is every night (at say 3am) I want my system to backup my 200gig Documents folder to my external hard drive. Does Ubuntu have a tool built in by default to do this or do I need to add something from the repos/online?
View 1 Replies
View Related
Oct 4, 2010
I'm using Ubuntu Lucid and any sudden power loss will usually cause problems with the file system. When I bring the computer back up, Ubuntu will then scan for errors at boot-time and if any errors are found it prompts me to select whether to repair or ignore them. I would much rather have it select the repair option automatically so that I don't have to be physically present.The reason for this is that i have a web server that should come back online automatically after a power loss.
View 2 Replies
View Related
May 8, 2010
Is there a way to make Clam update the signatures automatically? I cannot see an option in Clam TK.
View 1 Replies
View Related
Feb 24, 2011
I need to disable the automatic power-off on shutdown so I can just withdraw the power myself. The reason for this is that the machine should power on itself when it gets power (which is accomplished by Resume on Power Failure in BIOS). I learned that I can turn off ACPI and APM by using the corresponding boot command options. Does this have any negative effect other than disabling standby etc.? Is there another easy to accomplish solution for this problem (maybe using linux from a readonly partition and make sure all programs are closed before I withdraw the power)?
View 1 Replies
View Related
Jul 21, 2010
Can anyone tell me how to have Apache automatically start when I boot the system (and log in)?
It is a simple home-PC running Fedora and I put Apache on for internal/local use only (so I can get to it from my Windows box).
Right now, I have to su (to root) and run the Apache startup command.
I'd like to have it simply come up when I log-in.
View 6 Replies
View Related
Sep 6, 2010
I have installed CentOS 5.5 successfully and I have VNC working. This server will be a headless box that will reside in a server rack. I intend to perform any necessary maintenance on the machine remotely though my desktop computer. My problem is that when CentOS is on the login screen, I cannot connect with VNC. Once I have logged into a user account, then I can connect.
I would like the server to automatically login to one of my users each time it boots so that the VNC connection will be opened. Currently I have two users, root and Zachary. I would like the server to automatically login to the user Zachary.
In the CentOS Gnome GUI, when I go into System > Administration > Login Screen, and then click on the Security tab there is an option to "Enable Automatic Login." If you check this box a select form field becomes active; however, there are no user accounts showing in that select field. I tried typing in the user name that I wanted to automatically login, but after closing the screen it clears that username. What am I missing?
View 6 Replies
View Related
Apr 19, 2011
I am running Debian Squeeze on my net book ( ASUS 1000PE ) with an Atheros wireless nic. It has been running fine for months automatically connecting during boot to my hidden network but all of a sudden no dice.
If I use the Gnome network manager and "connect to a hidden network" and I am all set but when I am at the command prompt ( which is how I have it set to boot to) it is a few more steps. How can I get it to automatically load. I did not have any scripts set up before so I assume it is a service I need to turn back on that was turned off in error.
View 6 Replies
View Related
Jan 14, 2011
I need a script for shutdown the system automatically if the system is not disturbed for last 10 minutes.
By the way i am using RHEL 4 in my system.
View 2 Replies
View Related
Jun 13, 2010
How may I normalize a (voice) audio mp3 or aac file with no loss, having the gain rised as much as possible (mitigating distortion using a compressor), so in a long conversation people that speak softer can have more gain for their voice and people that speak louder can have less gain?
View 1 Replies
View Related
Nov 5, 2010
I'm using Ubuntu 10.04 and I have a 1TB NTFS (internal) hard drive where I put all my files. The drive shows up in the "Places" menu, and if I select & open it, the drive and all the scripts & text files in it work. But, if I go to run the scripts without opening the dive in the places menu first, it just gives an error.
1. What is being done when I select the drive in the places menu?
2. Can this be set up automatically, so I don't have to open the drive every time after I start up?
View 1 Replies
View Related
Feb 25, 2010
all the sudden i have to start typing in the nm keyring password and subsequently all my website logins
View 1 Replies
View Related
Jan 10, 2010
I have 389 fedora Directory Server which is nothing but LDAP Server running on 389 Server.Its working fine on CentOS. Now I am in search of script which can be put on boot time so that the new Machine can automatically come under LDAP Client.Generally the machines are RHEL 4/5.
View 6 Replies
View Related
Aug 3, 2010
I am using Ubuntu 9.04. Years ago, I did UNIX and DOS line commands, but I am 66 and dim, though my doctor says he still thinks I have my marble.Anyway, my Linux shuts down automatically faster than I want it to.How does one control this?
View 3 Replies
View Related
Jun 29, 2011
I have installed Ubuntu as wubi (next to windows 7). When I expect the computer to shut down (either to hibernate or as part of, you know, shutdown), it doesn't. All the programs end, I am logged out, but I still have a picture on the screen (ubuntu default picture).
View 7 Replies
View Related
Jul 25, 2010
When I go into the manage user and group application the check box to automatically log in is not available.
View 2 Replies
View Related
Jul 26, 2010
I've installed Slackware 12.2 on a 12 year old desktop. It is the only OS on the machine. When I press the Power button it stops at Slackware's splash screen asking me to choose an OS, even tho' there is only one to choose from. I installed LILO to the MBR and that is also listed there as a possibility.
Is there a way to set Linux so it will simply load automatically?
View 6 Replies
View Related
Aug 26, 2010
Ubuntu restarts every 1 hour and sometimes around 3 am in the morning. It is happening for the past few weeks i didn't find any help for this problem in the net. Please reply if there is any way to find why it is happening or how to stop if from doing an auto reboot
View 3 Replies
View Related
May 8, 2011
My Ubuntu laptop gets docked into a few different locations per day with different hardware and use cases. I'd like to automate the preference settings for each of these locations:
Work computer, dual head 1280x1024
External USB audio and bluetooth audio
Home computer, dual head 1280x1024, 1080p
External USB audio
Basically, when I dock the box in either (1) or (2), I want to automagically get the right xrandr settings for the different screen geometries and the right audio routing.
What scripts, etc. are responsible for the inscrutable default behavior?
Are there packages for customizing this?
If I wanted to roll my own, what is the right library to use to catch the hotplug events?
View 1 Replies
View Related
Jul 22, 2011
I have a cluster of 50 machines and some machines already have ssh automatic login setup but I want to be able to check this with a script.
View 1 Replies
View Related
May 3, 2011
What should I have to do if I want to back again to the previous conf of automatic Conversion to Daylight saving. Also I noted that the o/p of the zdump -v /usr/share/zoneinfo/Africa/Cairo | grep 2011 was
/usr/share/zoneinfo/Africa/Cairo Thu Apr 28 21:59:59 2011 UTC = Thu Apr 28 23:59:59 2011 EET isdst=0 gmtoff=7200
/usr/share/zoneinfo/Africa/Cairo Thu Apr 28 22:00:00 2011 UTC = Fri Apr 29 01:00:00 2011 EEST isdst=1 gmtoff=10800
/usr/share/zoneinfo/Africa/Cairo Sat Aug 20 20:59:59 2011 UTC = Sat Aug 20 23:59:59 2011 EEST isdst=1 gmtoff=10800
/usr/share/zoneinfo/Africa/Cairo Sat Aug 20 21:00:00 2011 UTC = Sat Aug 20 23:00:00 2011 EET isdst=0 gmtoff=7200
and changed to be
/usr/share/zoneinfo/Africa/Cairo -9223372036854689408 = NULL
/usr/share/zoneinfo/Africa/Cairo 9223372036854689407 = NULL
/usr/share/zoneinfo/Africa/Cairo 9223372036854775807 = NULL
After adding the new rule
Note : these are the I made to disable auto conversion to daylight saving. I created a text file named nodst at usr/share/zoneinfo/Africa
Then type the following:
#Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule egypt 2011 2013 - Apr 29 00:00 0 s
# Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL]
Zone Africa/Cairo +2:00 egypt BRE%s
Then issue the following command
zic nodst
ln -sf /usr/share/zoneinfo/Africa/Cairo /etc/localtime
View 3 Replies
View Related
Jan 14, 2011
I'm a big fan of the NSLU2-Linux project so I've been doing some developments for this platform for the last three years. In order for the end users to test my applications, I initially created an USB image with everything bundled into it. Then, they only had to download the image and decompress (dd) it into an USB pendrive with capacity equal or greater than 4 GB. The fact is that this has brought me lots of problems in the practice since my Web server hardly accepts long file transfers.
Moreover, flash spaces beyond 4GB are wasted. As result, I'm now considering a different approach as I don't know how to do it. Well, I've thought that I could maybe create an USB disk image only with the root file system partition. Then, the first time a script runs, it creates a home partition and formats it into the rest of the space available in the pendrive. There is maybe some command-line alternative to fdisk without having the user to interact during the format process... ??
View 3 Replies
View Related
Feb 1, 2011
I'm looking for a way to automatically startup Ventrilo when my linuxbox restarts. At the moment I have to manually start it up. I know there is a way and I've tried to follow other threads but I can't seem to find a tutorial on how to do this with the Fedora 12 distro.
View 5 Replies
View Related
Dec 12, 2009
I have a 5 disk raid 5 array that is composed of SATA A:0,1; SATA B: 0,1, and SATA C:0, and one of the disks (SATA A:0) recently went bad on me. I have an ICP raid controller that is about 5 years old. I replaced SATA A:0. After rebooting, I went into the controller and verified that it saw the disk in the hard-disk info section...there I noticed that in the "status" section, that the SATA C:0, SATA B:1 disks were listed as being "in array", the SATA A disks were blank, and the SATA B:0 disk was listed as "fragment". When I go into the "repair array" section, the controller tells me that there are no arrays that are in failure, error, or need to be rebuilt.
This puzzles me, as I thought the controller would know that the array needs to be rebuilt after replacing the disk and I don't see a way to initiate a rebuild. If I just let the server boot after replacing the disk, then I get back that there are the correct number of disks in the raid 5 and that it is ready, however, the screen then goes blank and I get a blinking cursor and the system seems to hang. There are no activity lights on any of the drives associated with the raid 5, which makes me think that the system is not rebuilding the array at this point.
View 3 Replies
View Related
Mar 10, 2011
Is there any way to find out log files increases we will get automatic email alert. for example if the log file size is 2 MB once the file exceeded 2MB then we will get email alert. is there any script.
View 5 Replies
View Related
Jul 10, 2011
I have been using VirtualBox for really long time, and personally I like it a lot, specially the screen resolution auto change to fit the window size. Lately I have moved to qemu/kvm for the sole reason to learn kvm, I have been missing different things from VirtualBox, but Am trying to stuck with It for now as I said just to learn It. Now to my question, Is there a way to get an automatic screen resolution change to fit the window size of the VM like what I get in VirtualBox?
View 1 Replies
View Related
Apr 29, 2011
I want to automatic mount a ntfs partition after start. I work on fstab, everything seems to be ok, but now something strange is happening: sometimes after boot, when I use fdisk, I find all the partitions as sda, sometims they seems to appear as sdb. Of course, if in fstab I have written sda and they are sdb, they will not be aoutomount... I am using fedora 14 I was expecting that allways the partitions to be sda or sdb.
View 1 Replies
View Related
Oct 24, 2010
So since i deleted a necessary package my redhat system crashed. Now, when i had initially installed redhat using a friends disk I copied all the files from the CD-ROM on my external hard drive (of course after installing through the CD)
Now I need to re-install linux and I have no idea how to actually use those files to create an actual automatic bootable installation CD?
View 2 Replies
View Related