473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

tar archiver and file mods

I have tons of files on my desktop computer (results of numerical simulations), and I need to make backup for later postprocessing and to free my disk so i can continue running simulations on that comp.

I tried "tar -cf archive.tar file1 file2" logged in as a common user within that same user's directory.

when i burned the archive.tar on a DVD, i tried to unpack it on my laptop (both computers are running SUSE linux - desktop 10.2 - 32bit, laptop 10.3 - 64bit).

it went ok, but when i tried editing some files, there was a warning that the files were all read-only.

i used "ls -l" on that directory and saw that the mod was read only. i can't chmod u+w on every file or directory because there are hudreds of them. what can i do? Thanx in advance. :)
Feb 13 '08 #1
2 1799
numberwhun
3,509 Expert Mod 2GB
I have tons of files on my desktop computer (results of numerical simulations), and I need to make backup for later postprocessing and to free my disk so i can continue running simulations on that comp.

I tried "tar -cf archive.tar file1 file2" logged in as a common user within that same user's directory.

when i burned the archive.tar on a DVD, i tried to unpack it on my laptop (both computers are running SUSE linux - desktop 10.2 - 32bit, laptop 10.3 - 64bit).

it went ok, but when i tried editing some files, there was a warning that the files were all read-only.

i used "ls -l" on that directory and saw that the mod was read only. i can't chmod u+w on every file or directory because there are hudreds of them. what can i do? Thanx in advance. :)
Well, you could do the following:

Expand|Select|Wrap|Line Numbers
  1. chmod -R u+w *
  2.  
That will do it recursively.

Regards,

Jeff
Feb 13 '08 #2
Well, you could do the following:

Expand|Select|Wrap|Line Numbers
  1. chmod -R u+w *
  2.  
That will do it recursively.

Regards,

Jeff
Thank You, tried it and it worked.
Feb 15 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Steve | last post by:
Hi all i am just starting to get back into VB and i need a little help. I am writing a program that asks a user to type in a set of numbers/letters (in this case shipping containers). Once the...
13
by: yaipa | last post by:
What would be the common sense way of finding a binary pattern in a ..bin file, say some 200 bytes, and replacing it with an updated pattern of the same length at the same offset? Also, the...
17
by: Gary | last post by:
Had a recent opportunity to grab some MP2 audio encoder source to use in a little utility I am writing in support of a Korg portable multitrack digital recorder. It is LGPL C and my project is...
3
by: Sven Willenberger | last post by:
Created a pg_dump with Fc (custom format compression) that resulted in a 300+MB file. Now trying to pg_restore this thing fails with either an out of memory error (as in the subject line) on...
2
by: gvozdano | last post by:
I have phpBB forum on my site and I have a problem. I have some mods applied on it (not done with EasyMOD), but can't remember exactly which are they. How can I upgrade that forum and still keep...
0
by: thunder44 | last post by:
Hello, I got this error message when I tried to get a backup of postgresql DB in a Fedora machine. The command that was used is: pg_dump /var/lib/pgsql/data/warranty_1_9 >...
0
by: WorldWide | last post by:
Hi. Is here anyone interested to help us code some bittorrent leecher mods? We need a bit help with the gui in the mods. You just need to have python knowledge. We have our own forums and a...
9
by: colin | last post by:
Hi, I could do with a simple source code archiver something that can save all source files, and then save any changed source file, but I dont realy want or need the complexity of source code...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.