Ubuntu :: Tar Gz Install Into A Specific Folder?
Mar 21, 2010i need to install this downloaded tar gz file into the /proc/driver directory.
View 6 Repliesi need to install this downloaded tar gz file into the /proc/driver directory.
View 6 RepliesI need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
Basically, I want to install Opera 10.60 Beta, but I currently have 10.10 Final installed, and I don't want to upgrade/overwrite my current install. Is there any way to specify which directory the .deb package install itself into?
View 1 Replies View RelatedI keep all of my web design work under /var/www/(application_name). Nine times out ten, when I open a terminal, I'm heading to the www folder - cd /var/www. I would love to make that my "home" folder for the terminal, so it would just open there - I know if I ctrl+shift+t to open a new tab it defaults to the same dir, but it would be nice to have the first opened terminal default to there. Is this possible, or is there a better way to go about this?
View 2 Replies View Relatedhow difficult it would be to set up a specific folder on my box that I can treat as my own personal dropbox. That way I can access the folder and whatever is inside of it by hitting my external IP, or domain, etc. It'd also be nice to upload to that specific folder on my box too. This is speaking from externally to the LAN.
View 1 Replies View RelatedI wanted to restrict users within a particular folder say /var/lib/tomcat/webapps. I want the users to see all subfolders inside webapps and work with it (edit+read but no delete). I understood that chroot is the way, and i read this [URL] community discussion, but what i understand out of it is, they are trying to give a complete working installation of ubuntu to the user within a directory which i dont want to.
View 3 Replies View RelatedThis question can be found on the Internet and on this forum but either there is no response or the advice is to move the folder to exclude on another path (in case of using a subfolder for ripped/downloaded mp3).
But in my case my music is on a SAN and I access it through CIFS. So every time I delete a file or folder it goes to the Trash, in a folder called #recycle, which Rhythmbox indexes as well. So I have to delete this folder to avoid duplicates...
Is there any configuration in Rhythmbox to exclude a folder?
I only see a configuration for multiple folders in gconf-editor:
/apps/rhythmbox/library_locations
When I try to upload files via FTP to a specific folder (/var/www/myfolder/) I get the message 550 permission is denied. I set CHMOD 777 for this folder (I had to do this via SSH cause I was not allowed to do this in FileZilla)
View 5 Replies View RelatedIs it possible to bind a USB drive formatted in NTFS to a specific folder so when i open that folder i see the contents of the drive?
View 12 Replies View Relatedsudo cp ../../../rootfs_maker_ramdisk drivers/filesystem/ -rf
give below errorCode:cp: cannot create special file ...._rootfs/dev/hda4': No such device or addressi get this error only in some specific locationsif i dont use sudo then i get permission denied msg
I am trying to use the command gzip to compress a directory or file list as argument and compress the file in a file named copia101225, within a directory named ZIPFILES. I want to make sure that if the arguments doesn't exist, the destination directory doesn't exist that it creates it. I keep failing at compressing the file to copia101225, that is within the directory named ZIPFILES This is what I have so far:
#! / bin / bash
# Title: Compress a file
# Author: Jose Miguel Colella
# Description: Compress a file
[code]....
I am new to ubuntu and just installed the vsftpd service by this tutorial: [URL]. Now my question is how can I give users rights to one specific folder?
useradd username -d /home/folder/new
Thats the command id used but when I login to the ftp the user is able to see all other folders as well ..
How to remove a specific folder from your backup?$ rdiff-backup --remove-older-than now /backup/backup_laptop/home/derick/DownloadsFatal Error: Increments for directory /backup/backup_laptop/home/derick/Downloads cannot be removed separately.Instead run on entire directory /backup/backup_laptop.
View 2 Replies View RelatedIm writing a script that extracts part of the path name:I drop a file in terminal and set the directory name of the file to x using dirname $0note: ( directory is different every time since not all files are from the same location)
ex.
x="/home/Downloads/yesterday/photo/.../image.png" /image.png
/.../ means I dont know the name of folders between but I know the path name always starts
[code]...
Lately I'm getting this question a lot.For every project I want to create a tree like this:
Code:
- project
- drawing
[code]...
What would be the best way to automatically copy all of the data off of a library of cds to a specific folder on the computer? I was thinking of running a bash script but I've run into a few snags figuring out the correct way to do it. Mainly due to the fact that the cd drive is mounted in a different folder in /media each time I insert a new diskAlso, the mounting and unmounting process causes it's own problems, but I think that could be covered by a for loop that checks /mtab every few seconds or so.
View 2 Replies View Relatedapp deployment on Linux/debian and I'm using Debreate to create .deb packages which works fine. I install the software itself to /usr/bin but want to install the program's database to /home/username/myapp/ The problem is it that I don't know how to add the env variable 'username' to the target path. What is the exact syntax for this installation path?
View 3 Replies View Relatedallow specific user permission to read/write my folder
I have a folder called /TAR/Sketch
I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.
How can I accomplish this ?
I want to delete all files within a specific folder without actually deleting the folder, what is a good bash command for this?. I found this one but encountered some errors even though I am executing it within the specific folder:
useratdebian:/home/user/folder# find . -type f -exec rm -rf {} ;
[1] 5052
useratdebian:/home/user/folder# find: missing argument to `-exec'
[1]+ Exit 1 find . -type f -exec rm -rf
The command as it appears is:
find . -type f -exec rm -rf {} ;
how to delete only the files contained within the folder called "folder" for example?
I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known
View 12 Replies View RelatedI have a script that checks a folder for zip files than moves them to a different folder. I want to check every 5 maybe 10 seconds and since cron is setup to run at least a 1 minute increment I'm not sure how to do that time check as probably a loop within the script. One other thing is once the time check is in the script how would a cron job be setup to run this script? Once the script is running cron doesn't need to run it again, is there a feature to check if it's running and if it's not then run it?
find /export/xxxshare -name "*.zip" -exec mv {} /export/store ;
i need to write a short script that will compress a specific folder that`s on the Desktop (and all it`s content) and also will encrypt it with a password that is inside the script --->meaning it wont ask for a password+verification when compressing+encrypting
View 1 Replies View RelatedMany years ago, I converted a portion of my files to an arbitrary format with a specific extension. i no longer desire to have them in this format and i would like begin the process of replacing them because conversion is not an appropriate solution. unfortunately, they are mixed in separate folders of the same root folder with files in my current format of a different extension. I feel it would make this process easier if I were to move every folder that contained a file with the undesired format to a separate root folder. The files are stored on a Linux server and shared via samba. How can I do this with a couple of commands or a script? I am open to other suggestions as well. I want to avoid time spent editing text files. Ultimately, I'd like a command that produced a list of full paths for folders, sorted by the number of levels would be a nice touch. A list of all of the files is clearly not what I'm looking for.
View 2 Replies View RelatedTerribly new to Linux and find it mindboggling. I work on brain imaging and unfortunately all of the analysis runs on Linux, and I do not understand computers well coming as I do from a medical background. So my question - There are various folders of patient MRI scans (folders called P1, P2, P3 etc) and within them are enclosed certain files that I am interested in (always called the same name in all folders, say image001). I would like a script that enables me to copy and move this image001 in all these individual folders to another folder altogether.
View 13 Replies View RelatedHow do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies View Relatedmy system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies View Relatedfor example
else {
for fileDOC in $location/*.doc
do
[code]...
I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.
View 6 Replies View RelatedI'm still trying to get comfortable with apt-get doing all my installing for me. The one question I have now is how do I find out where apt-get install "some_package" puts the package it installed for me?
View 4 Replies View RelatedI received from a designer a zipped folder called "__MACOSX", and there are two font files, "._BCongress.scr" and "._BConNor".
How do I get these fonts installed?
I could not find any instructions on how to do this - I found the font converter Fondu, but it didn't seem to understand these file formats. I can't open them in Ubuntu Font Viewer either.