Spectral shaping of an all-fiber torsional acousto-optic (AO) tunable filter is studied. The technique is based on the axial modulation of AO coupling strength along a highly birefringent optical fiber, which is achieved by tailoring the outer diameter of the fiber along its propagation axis. Two kinds of filter spectral shaping schemes-Gaussian apodization and matched filtering with triple resonance peaks-are proposed and numerically investigated under realistic experimental conditions: at the 50-cm-long AO interaction length of the fiber and at half of the original fiber diameter as the minimum thickness of the tailored fiber section. The results show that the highest peak of sidelobe spectra in filter transmission is suppressed from 11.64% to 0.54% via Gaussian modulation of the AO coupling coefficient (kappa). Matched filtering with triple resonance peaks operating with a single radio frequency signal is also achieved by cosine modulation of kappa, of which the modulation period determines the spectral distance between two satellite peaks located in both wings of the main resonance peak. The splitting of two satellite peaks in the filter spectra reaches 48.2 nm while the modulation period varies from 7.7 to 50 cm. The overall peak power of two satellite resonances is calculated to be 22% of the main resonance power. The results confirm the validity and practicality of our approach, and we predict robust and stable operation of the designed all-fiber torsional AO filters.