saf extractor
-
- Posts: 40
- Joined: Thu Jan 24, 2013 2:00 am
- Team: Elite Decals
-
- Posts: 2106
- Joined: Sun Feb 05, 2012 7:23 am
- Team: Aspect Visual Co.
- Location: Illinois/Wisconsin
-
- Posts: 40
- Joined: Thu Jan 24, 2013 2:00 am
- Team: Elite Decals
Re: saf extractor
The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Re: saf extractor
The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
-
- Posts: 40
- Joined: Thu Jan 24, 2013 2:00 am
- Team: Elite Decals
Re: saf extractor
If theres gear in a saf but the forum post says [release] psd in pack wouldn't you be aloud to rip it
Re: saf extractor
A .psd is a completely different story but it would never be put in the .saf.
Re: saf extractor
A .psd is a completely different story but it would never be put in the .saf.
-
- Posts: 40
- Joined: Thu Jan 24, 2013 2:00 am
- Team: Elite Decals
-
- Posts: 4132
- Joined: Tue Oct 21, 2008 5:20 pm
- Location: Washington, USA
- Contact:
Re: saf extractor
Simple Archive Format. Not Safe wAy to keep your Files.Pumaxcs wrote:The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Granted, until JLV said otherwise, I thought it was something like safe, without the e.
-
- Crushed Dissenter
- Posts: 3245
- Joined: Thu Feb 16, 2012 8:33 pm
- Team: MotardMatt220
- Location: KTM57
Re: saf extractor
Yeah but most people have been using the saf. files as a way of protecting their work when releasing something, despite that not being the saf. files purpose. Either way, the saf. files on mx sim shouldn't be opened for obvious reasons.wheels1758 wrote:Simple Archive Format. Not Safe wAy to keep your Files.Pumaxcs wrote:The reason .saf files were created is because they were intended to keep others out of the file from making changes to the file and protect the creators artwork. An extractor defeats the purpose of the file and the creator using that file.
Granted, until JLV said otherwise, I thought it was something like safe, without the e.
jlv wrote: Motardmatt220 is a crock of shit
KTM57 wrote: August is 13 years old and thinks he's hot shit because he's a lot younger than everyone else
Re: saf extractor
Here you go:
Code: Select all
#!/bin/bash
#
# Simple Archive Format
#
#set -C
if test "_$1_" = _c_
then
shift
find "$@" -maxdepth 0 -printf '%s %p\n'
echo -
cat "$@"
elif test "_$1_" = _x_
then
shift
count=0
while read size name && test "_${size##[^0-9]}_" = "_${size}_"
do
sizes[count]=$((size))
names[count]=${name}
count=$((count+1))
done
if test "_${size}_" != "_-_"
then
echo "Bad dir"
exit
fi
i=0
while let 'i<count'
do
echo ${names[i]} ${sizes[i]}
if test "_${names[i]##*/}_" != "_${names[i]}_"
then
install -d "${names[i]%/*}"
fi
dd bs=${sizes[i]} count=1 >"${names[i]}" 2>/dev/null
i=$((i+1))
done
else
echo "To create an archive use: saf.sf c files..."
echo "To extract an archive use: saf.sf x"
fi
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
-
- Posts: 3275
- Joined: Tue Apr 12, 2011 9:36 pm
- Team: TBR
- Location: New Jersey
-
- Posts: 40
- Joined: Thu Jan 24, 2013 2:00 am
- Team: Elite Decals
-
- Crushed Dissenter
- Posts: 778
- Joined: Wed Jan 18, 2012 11:22 pm
- Team: 21 Savage
- Location: Somewhere in Taiwan
Re: saf extractor
You should learn the difference of Know and No