Ubuntu One :: Way To Ignore Whole Directories
Sep 25, 2010
is there any way to ignore whole directories in Ubuntu-One? I figured out that you can use /etc/ xdg/ ubuntuone/syncdaemon.conf to ignore files by adding a regex to ignore.default, but I assume this only applies to files. So, how can I avoid the syncing of some subdirectories of my synced folders? I guess I could use symlinks as a workaround, because I read somewhere that Ubuntu-One wouldn't follow them.
View 1 Replies
ADVERTISEMENT
Dec 19, 2009
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies
View Related
May 15, 2011
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
View 2 Replies
View Related
Mar 23, 2011
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
View 7 Replies
View Related
Apr 25, 2010
There is a package on my system that won't be removed. How can I tell apt-get not to remove that specific file?
sudo apt-get purge (remove) texlive-lang-cyrillic won't work.
View 2 Replies
View Related
Jul 4, 2010
I'm still trying to learn, but seem to be hitting a few walls when it comes to man pages. I don't know where else to look so I hope to get some help here - or at least another idea. I'm trying to learn c++ as well as *nix terminal commands, and I like to make a backup of my compiled program and .c files each time I reach a successful compile (99-100% bug free).
My problem is I like to use an alias instead of a script to backup my work onto a USB. I don't want the hundreds of log files (10K+) copied since I usually delete them anyway.
My alias:
How do I tell cp to ignore the folder '~/work/log' during the backup?
If cp doesn't have such an option, I am open to other ideas, but I would still prefer something that I can alias since I already backup my .bash_aliases file.
View 1 Replies
View Related
Aug 11, 2010
if there is a way to blacklist certain packages when updates come around. The reason for this is that I have two repositories that contain Smplayer and Mplayer. But one repository versions of this aren't VDPAU active (but the build is newer).
View 1 Replies
View Related
Sep 18, 2010
I've updated my 10.04 kernel to 2.6.34 on my Asus Eee PC to fix wireless issues. However, the update manager keeps bugging me to "upgrade" to 2.6.32. How do I tell it to ignore this?
View 3 Replies
View Related
Nov 2, 2010
I am trying to set up my cpu freq. scaling to ignore BOINC. From what google has shown me this is done by setting a value of 1 for ignore_nice_load. However the location of said value does not seem to be the same in 10.04 as in the results from google. How do i set this or is there a better way to keep idle processes like BOINC from increasing the my cpu frequency?
View 4 Replies
View Related
Jan 20, 2010
Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.
So far I have created:
chroot_list
user_list
[code]....
View 1 Replies
View Related
Apr 14, 2010
Is there any way to make rhythm box, order by artists but ignore 'The' at the beginning of artist names?
View 2 Replies
View Related
Aug 14, 2010
Is there a way to have the default 10.04 file explorer ignore capitals?
eg: If i have the files
BOB_1
BOB_2
BOB_3
bob_4
bob_5
bob_6
Ubuntu by default lists them in order starting with the lowercase letters 4-6, followed by the upper-case letters 1-3. I want them to be displayed in the order listed above.
If this isn't possible, can I rename every single file in a folder to be made up of only caps?
View 3 Replies
View Related
Apr 16, 2011
I would like to have Nautilus not display the *.pyc files, is there a way to obtain this result?
View 4 Replies
View Related
Apr 18, 2011
When I first started using Unity, I configured the dual monitor system under the settings program. I then changed my xorg.conf, but Unity is ignoring that configuration and switching to its own. I think this might have something to do with RandR, but I'm not sure. Is there a way to make Unity use the xorg.conf configuration?
View 1 Replies
View Related
Apr 25, 2011
I use Ubuntu, and Google Chrome mostly. How can I kill these HTTP headers, so that my browser caches this data? I believe it is XHR. Here are the relevant HTTP response headers:Cache-Control:no-cache, no-store, must-revalidate Pragma:no-cache.I also have Firefox, is there a plugin or something I can use to not respect "no-cache"?
View 1 Replies
View Related
Nov 3, 2010
I'm trying to look at a file and find 6 or more consecutive consonants (everything except a vowel). However I have a hidden $ character at the end of each line in the file. For some reason I can't reference to it in any of the pattern searching commands.
For example: grep '[^aeiouAEIOU$]{6,}' file| more
This command returns words that contain 5 consonants at the end (because it interprets the hidden $ as not a vowel). How can I make it ignore the hidden character? Or more specifically how do I refer to the hidden character in my pattern searches?
View 5 Replies
View Related
Mar 11, 2010
I'm working on a backup script which takes the following input:
Code:
RevBackup.sh <options> <source> <target>
The problem I'm having is that the source and target might contain spaces in the path. ie. /home/eRJe/My Documents
I would like the script to ignore " " (backslash-space) as being a delimiter. how could I do this without stopping a normal space from being a delimiter?
I could do this with IFS. But so far I have only found info about setting a delimiter and not to "ignore" one
View 4 Replies
View Related
Nov 2, 2009
I'm currently using Centos 5.4 but I wanted to avoid this upgrade but it seems impossible.
Is there a particular block /ignore list so that yum doesn't upgrade the system in future?
View 4 Replies
View Related
Oct 29, 2010
I have a script that users execute to copy files from one server to another 3 boxes.
I want to prevent rsync from trying to copy files with spaces.
Anyone have an example I can use?
The rsync just craps out when they try to sync files with spaces, I tell them that but....
View 3 Replies
View Related
Mar 11, 2010
How can i make an application ignore widget style configurations in kde? Like Synaptic and some other applications do.
View 4 Replies
View Related
Feb 7, 2011
I just upgraded my storage server to maverick and it seems the 2.6.35-25 kernel doestn like the hardware im using
since im pretty sure its a hardware related problem and the previous kernel hastn the issue im currently booting this old kernel everytime i need the server by hand (using Shift during boot for the grub menu to appear)
well, it narrows down to the following question:
how can i exclude a specific grub entry - in my case the current kernel 2.6.35-25 - so only previous kernels OR future kernels from the next updates will have a chance to boot?
View 4 Replies
View Related
Nov 22, 2009
Running F12 and the option to ignore updates is grayed out
View 9 Replies
View Related
May 29, 2010
when using opensuse 11.2 i get a popbox saying there are security updates ready to install. if i right-click on each update, there is a "ignore this update" button but i cannot click on it because it is greyed out.
why can't i click on 'ignore this update'?
View 1 Replies
View Related
Jul 28, 2010
I am using grep to filter out directories I am not interested in like this:svn stat | grep -v data/charts | grep -v lib/model | grep -v web/picsIt seems a bit "hacky". Is there a better way to specify more than one string to ignore, so that I dont have to chain multiple grep commands?
View 3 Replies
View Related
Jul 28, 2011
I am performing a dry run using Rsync on 2 different boxes.While i'm doing that, Under destination directory, I want a specific directory x to be ignored for sync.Please let me know the exact pattern to ignore the directory.The current command I'm using is:rsync -avnc --delete $LOCAL_DIR $USERNAME@$DESTINATION_IP:$REMOTE_DIRunder DESTINATION_IP, I would want to ignore a particular directory under REMOTE_DIR.
View 1 Replies
View Related
Jan 13, 2010
I installed a Amsynth from Lucid in Karmic using:
dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb
The reason for installing the Lucid version is because Karmic version is 3 years old and crashes on my machine. The Lucid Amsynth package depends on newer versions of libatk1 and libjack0 than Karmic has, but I thought I would take a risk, and turns out Amsynth runs fine. However aptitude tries to uninstall Amsynth every time I do an upgrade. I think I've managed to put it on hold but now aptitude aborts. How can I tell aptitude to ignore the broken package and carry on.
View 3 Replies
View Related
Sep 24, 2010
Short version: Why does apt-get update since recently ask me for my installation DVD?
Long version: In my sources.lst there is still an entry for the installation DVD.
I like that because if a package on DVD is still the newest version then there is no need to download it again. (If I comment out the DVD entry apt-get update will ignore the DVD but at the same time no package will ever be installed from it again, right?)
Since some time ago this was no problem as apt-get update didn't have a problem with the entry - or if it had (I don't really remember), there was just an error message and the process would continue with the other sources. But then this changed and now I'm asked to insert the disk (luckily I have only one DVD) every time and the routine waits until I have done so.
Is there a way to change that back?
I've read some apt documentation and the apt-* manual pages including apt.conf and some examples for that but could not find something useful though there might be something I missed because I didn't understand everything I saw.
Clearly, it makes sense that DVDs and the like can be included in apt-get update because some people update offline with these media. But (the standard) DVDs are read-only and the individual disks are identified by apt (see /var/lib/apt/cdroms.list). So the system should not expect an already known DVD to change but recognize if a new one is being used.
View 9 Replies
View Related
Apr 21, 2011
what should not be mentioned:
*disabling "Automatically fix broken packages before installing or removing" in aptitude -- because it does not work
*editing /var/lib/dkpg/status -- not related to apt-get really
* -m or -f options of apt-get -- because they do not help me in any way
* downloading the package manually and using dpkg --force-depends-version -i <package> -- again, not apt-get
I need the --just shut the fuck up and dl&install the darn package option immediately.
View 14 Replies
View Related
Apr 8, 2010
I am using Rsync to backup files to a another machine, the users on my fileserver do not exist on the backup server so Rsync throws errors about the permissions. It copies the files fine but I want to get rid of the errors and have Rsync ignore the permissions when backing up.
/backup is a mounted ftp directory
Below is the current command and output:
Code:
root@Fileserver:~# rsync -av --delete /shared/fileshare/ /backup/backup
building file list ... done
created directory /backup/backup
./
manager/ .....
rsync: chown "/backup/backup/manager/.chironfs.txt.c6MbJ7" failed: Operation not permitted (1)
rsync: chown "/backup/backup/manager/.cronman.txt.hdBG4P" failed: Operation not permitted (1) .....
sent 211115 bytes received 274 bytes 7686.87 bytes/sec
total size is 210263 speedup is 0.99
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
View 3 Replies
View Related
Jul 27, 2010
I use Slackware 13.1 with Sendmail 8.14. I set RunAsUser=mail option in sendmail.cf, but Sendmail still run under root. How run Sendmail under nonpriveleged user?
View 4 Replies
View Related