General :: Group Files And Create Archives Accordingly?

Jul 20, 2010

How can I group files and create archives accordingly? I have 10,000 files in a folder (no sub-folders) and I want to create 10 zip or tar.gz archives. This means every archive has 1,000 files. How can I do this in Linux?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Compress Files Or Create Split Archives?

Apr 25, 2010

i have noticed that if right click on many files types for instance iso files i don't have the option to store them in compress files at all i have one iso file now that i want to compress and split to three parts so i could upload it but as i said right click on the file don't helpbecause i don't have the option there so what can i do?

View 4 Replies View Related

General :: Create Archives Of A Directory Tree On Ubuntu Box?

Oct 29, 2010

Are there any other archiving tools than tar that preserve Linux file permissions and user/group flags? I want to create archives of a directory tree on my ubuntu box. The directory trees are large, a first run with tar cvpzf archive.tgz /home/foo/bar yielded a 5GB archive. I also want to keep all permissions and other flags and special files.I'm fine with a 5GB archive, however to look inside that archive -- since it is a compressed tar archive -- the whole 5GB have to be decompressed first! (Or so it appears when opening it with the archive viewer -- I'm happy to be corrected.)So I need a way to "backup" a directory (tree) while preserving full filesystem attributes and right and creating an archive with an "index" that hasn't to be decompressed for browsing its contents. An archive is either a single file, or a (small) set of files that carries full and complete information within this file/s. That is, it can live on any filesystem (size permitting), it can be burnt onto a DVD, you can split it (after which the point of this question is really lost - but still), ...

View 3 Replies View Related

General :: Secondary Group Users Need To Change File Permissions Of Primary Group Files?

Oct 19, 2009

i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?

View 3 Replies View Related

Ubuntu :: Create A User Group That Restricts Internet Privileges To Only Members In The Group

Jul 19, 2011

How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.

For example, I want only group net to have access to the Internet. Group net is then connected to:

Code:

So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?

View 2 Replies View Related

Software :: Create And Edit .gz Gzipped Archives In Ark?

Jun 10, 2009

Is it possible to create and edit .gz Gzipped archives in Ark?

View 1 Replies View Related

Ubuntu :: Converting RPM Archives Into Deb Archives?

Jan 12, 2010

I've found a website [URL] that I've downloaded Basilisk II [URL] and SheepShaver [URL] from, I converted both inton deb archive using the command sudo alien, but while they both successfully converted and installed, and show up in the Applications menu, only Basilisk II launches. When I click on the SheepShaver icon, nothing happens. I had this problem with another SheepShaver RPM I downloaded elsewhere. I really want to use SheepShaver to run Mac OS 9 on my laptop, is there something I can do to get it to run?

View 7 Replies View Related

General :: Files To Inherit User And Group?

Mar 8, 2010

i have a directory ( /dir1) that belongs to a user1:group1. I need to know if this is possible and if so a basic idea of how to. when i copy a file into /dir1 (as root) i would like it to obtain a different user and group. Is this possible?

View 1 Replies View Related

General :: SQL Like Group By And Sum For Text Files In Command Line?

May 2, 2010

I have huge text files with two fields, the first is a string the second is an integer. The files are sorted by the first field. What I'd like to get in the output is one line per unique string and the sum of the numbers for the identical strings. Some strings appear only once while other appear multiple times. Given the sample data below, for the string glehnia I'd like to get 10+22=32 in the result. how to do this either with gnuwin32 command line tools or in linux shell?

[Code]...

View 2 Replies View Related

General :: Find All PHP Files With Group Write Permissions?

Jun 23, 2010

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?

find -name "*.php" -perm g-w

View 1 Replies View Related

General :: Default Group Owner Of Files In A Directory?

Sep 10, 2010

have recently installed ubuntu server on a new machine. I have added 3 users and I have assigned them to a group.The three of us work together on a lot of stuff so what I would like to do is to have a specific folder made the groups folder. All files that are created or moved into this folder should automatically be owned by the group. I.e. all 3 of us should have the right to read and write to these files.

View 11 Replies View Related

General :: Search Word In Group Of Files Using Command?

Oct 10, 2009

i am using openSUSE 10.3 & like to use power of terminal to do tasks.I want to search all files containing word 'echo' in given folder.What should be command.

View 14 Replies View Related

General :: How To Remove Rwx Permission For Group And Other Users For All Hidden Files

Nov 29, 2010

How would i remove rwx permission for group and other users for all hidden files (except . and ..) inside /root using a one line command.

View 4 Replies View Related

Debian :: Installation Pear - Files Not Found / Unable To Fetch Some Archives, Run Apt-get Update?

Mar 3, 2011

I have brought a virtuell server to get Magento ready. My server is debian with PHP Version 5.2.6-1+lenny3

For that i need Pear. I want to install it global so i tried this command "apt-get install php-pear". Following i get after this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
php5-cl
Suggested packages:
code....
1+lenny3_all.deb  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

This is my sources.list:
deb url
deb url
deb url

View 2 Replies View Related

General :: Setting Permissions For Group Permanently For Future Files And Folders?

Jul 19, 2010

I would like to set both user and group permissions permanently to be 'rwx' (read-write-execute). I would like these rwx settings for all the future files and folders.

I tried umask 002, chmod etc, but they don't set it for future files.

View 3 Replies View Related

General :: Group Member Not Able To Write To Group's File?

Feb 8, 2011

I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW

[code]....

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

View 2 Replies View Related

Programming :: Create Single Group From All Other Groups?

Mar 14, 2011

I would like to create a bash script that creates a single group from all users in other groups.

I've been at it most of the day, and I think I'm making it too complicated. I have about 100 lines of code, and it's still now working the way I would like. I'm starting to trip over my own feet with the amount of if statements and variables.

View 1 Replies View Related

Ubuntu :: Command Line To Copy Files From One Location To Another / Retain Source Files Group / User?

Feb 20, 2011

Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.

Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.

View 5 Replies View Related

General :: Security Group Can Be A Member Of Another Group?

Aug 22, 2010

I need to create a group that has the same permissions as the users group. Can I have the new group be a member of the "users" group to inherit its permissions?

View 4 Replies View Related

Software :: Cannot Create New User (useradd: Unknown Group MyGroup)

Jun 7, 2010

I try to add a new user but got error (shown in title). Is it possible to create a new user and create a new group at the same time? Or should I create the new group first then the new user?

View 1 Replies View Related

General :: How To Tar -zxvf Many Archives At Once

Nov 3, 2010

I want to tar -zxvf several dozen .tar.gz archives. I know how only to tar -zxvf one archive at a time. If possible, I would like to tar -zxvf all the archives in one command so I don't have to type "tar -zxvf [filename]" several dozen times. What's the syntax? I looked at the man tar page, but couldn't find it.

View 3 Replies View Related

General :: Using Fedora 11 Password, Shadow, Gshadow, Group Files In Fedora 12?

Apr 28, 2010

I recently mashed the passwd, shadow, gshadow, group files in my Fedora 12 installation. I was dumb and didn't take a copy of the originals and all I have is the originals from a Fedora 11 installation.

View 2 Replies View Related

General :: Extracting And Then Deleting Archives?

Apr 23, 2011

I have a large number of zip-archives which I would like to extract and then delete, keeping only the extracted files. The files are located in a number of directories and I issued the following command, hoping that it would solve my problem (which it didn't):

Code:find . -name "*.zip" -execdir unzip '{}' ; -deleteWhat happened was that find continued to extract the files as intended, but then it deletednot only the zip-archives but also the newly extracted files.it only affected a portion of the files that I had already backed up.I don't have enough space on my hard drive to extract all the files without simultaneously removing any data and I don't have the energy to go through all the directories one by one manually. Surely there must be a better way. Is there a way to fix the code snippet above so that it works as I intended or is there a better way of doing this?

View 4 Replies View Related

General :: Is It Ok To Delete Everything In /var/cache/apt/archives

Aug 4, 2010

There is this directory with a lot of .deb files in it. /var/cache/apt/archives

Can i delete all these files in that directory? is it safe? They are temporary files right?

View 5 Replies View Related

General :: Files Created In A Directory Owned By Directory Group?

Jan 29, 2010

Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?

View 2 Replies View Related

General :: Properly Extracting Archives With Mac Metadata?

Mar 28, 2011

Someone has sent me a zip file containing some fonts. I extracted it using unzip under Linux, and there are empty files in the top level of the archive, and some files similarly named but beginning with ._ in a __MACOSX subdirectory.

I understand that the __MACOSX contents should be metadata, and normally I'd delete it. In this case, however, all of the data seems to be in there! Is there a tool that I can use to reassemble the original data?

View 1 Replies View Related

General :: Vsftp - Some Users See Files - Some Don't - But All Users Are In Same Group

Jan 18, 2010

When I have different people log into our ftp and browse to the same folder, some people see the files inside, some don't. all the user accounts are in the same group, which has permission to this folder. but the one user who can see the files is the owner. how can i fix it so everyone in that group who's the owner of the folder can see the files?

View 10 Replies View Related

General :: Cannot Move A File Into My Archives Directory In Bash Scrip

Apr 12, 2010

I cannot move a my file into my archives directory in my bash scrip.

View 7 Replies View Related

General :: Startup Script - Delete Downloaded Archives (Clean Up)

May 29, 2010

I'm looking to make a script that will do the following;

yum update -y
cd /home
wget [URL]
sh latest
(install various scripts like ConfigServer series, ClamAV)
edit settings in files
delete any downloaded archives (clean up)
reboot/delete self

View 5 Replies View Related

General :: Create Ftpusers Files (CIS)?

Jan 4, 2010

while i am reading the CIS guide for RHEL, i came across this section, which is on "Create ftpusers Files".

The code:

if [ -f /etc/ftpaccess ]; then
for NAME in `cut -d: -f1 /etc/passwd`; do
if [ `id -u $NAME` -lt 500 ]; then
echo $NAME >> /etc/ftpusers

[Code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved