DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-11-07 19:01:54

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Tar - fun_plug - exclude not working

The other day I was backing something up. It's a directory and I didn't want a specific sub-directory within to be included in the archive, so I tried to exclude it with the --exclude option of the tar command.

But there is no exclusion, although no error, also i tried same command with ubuntu without problem

There is a problem with tar ? maybe have you another solution ?

Thanks 

Of course i tried with original dns 323 tar

/bin/tar: unrecognized option `--exclude'

Offline

 

#2 2011-11-08 07:09:24

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Tar - fun_plug - exclude not working

Offline

 

#3 2011-11-08 10:12:50

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: Tar - fun_plug - exclude not working

Yes i tried, but same problem ...

Offline

 

#4 2011-11-08 21:08:29

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: Tar - fun_plug - exclude not working

strange !? 

can you paste the output of:

tar --help

The ffp version that is.

Offline

 

#5 2011-11-10 11:21:46

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: Tar - fun_plug - exclude not working

/ffp/bin/tar --help
BusyBox v1.12.1 (2008-09-29 20:38:04 CEST) multi-call binary

Usage: tar -[czjaZxtvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE(s)]...

Create, extract, or list files from a tar file

Options:
    c    Create
    x    Extract
    t    List
Archive format selection:
    z    Filter the archive through gzip
    j    Filter the archive through bzip2
    a    Filter the archive through lzma
    Z    Filter the archive through compress
File selection:
    f    Name of TARFILE or "-" for stdin
    O    Extract to stdout
    exclude    File to exclude
    X    File with names to exclude
    C    Change to directory DIR before operation
    v    Verbose

/bin/tar --help
BusyBox v1.00-pre1 (2009.05.07-06:36+0000) multi-call binary

Usage: tar -[czxtvO] [-f TARFILE] [-C DIR] [FILE(s)] ...

Offline

 

#6 2011-11-10 11:40:08

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: Tar - fun_plug - exclude not working

For example

/ffp/bin/tar cvzf /mnt/HD_a2/docs/sauvegardes/wiki.10-11-2011_4.tar.gz /mnt/HD_a2/docs --exclude /mnt/HD_a2/docs/sauvegardes
tar: removing leading '/' from member names

mnt/HD_a2/docs/
mnt/HD_a2/docs/sauvegardes/
mnt/HD_a2/docs/sauvegardes/test
tar: /mnt/HD_a2/docs/sauvegardes/wiki.10-11-2011_4.tar.gz: file is the archive; skipping
mnt/HD_a2/docs/sauvegardes/wiki.07-11-2011_1.tar.gz
....

I also tried with


/ffp/bin/tar cvzf /mnt/HD_a2/docs/sauvegardes/wiki.10-11-2011_4.tar.gz --exclude /mnt/HD_a2/docs/sauvegardes /mnt/HD_a2/docs

Offline

 

#7 2011-11-10 12:19:18

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Tar - fun_plug - exclude not working

That's the wrong tar. Apparently it symlinks to busybox, which only implements a very basic version of the tar tool.

Install this one instead: http://inreto.de/dns323/fun-plug/0.5/pa … 1.19-2.tgz

Offline

 

#8 2011-11-10 12:30:06

stealth
Member
Registered: 2011-01-05
Posts: 30
Website

Re: Tar - fun_plug - exclude not working

Ok thank !

My version was tar_113-1.13-2.tgz, now it's good

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB